Link to home
Start Free TrialLog in
Avatar of Damned_Vampire
Damned_Vampire

asked on

Win.ini

My win.ini (c:\Windows\win.ini) was this in it:

BEGIN----------------------------------------------------------------------------------------------

; for 16-bit app support
[fonts]
[extensions]
b$$=groups.exe ^.b$$
[mci extensions]
[files]
[Mail]
MAPI=1
CMC=1
CMCDLLNAME=mapi.dll
CMCDLLNAME32=mapi32.dll
MAPIX=1
MAPIXVER=1.0.0.1
OLEMessaging=1
[MCI Extensions.BAK]
aif=MPEGVideo
aifc=MPEGVideo
aiff=MPEGVideo
asf=MPEGVideo2
asx=MPEGVideo2
au=MPEGVideo
ivf=MPEGVideo2
m1v=MPEGVideo
m3u=MPEGVideo2
mp2=MPEGVideo
mp2v=MPEGVideo
mp3=MPEGVideo2
mpa=MPEGVideo
mpe=MPEGVideo
mpeg=MPEGVideo
mpg=MPEGVideo
mpv2=MPEGVideo
snd=MPEGVideo
wax=MPEGVideo2
wm=MPEGVideo2
wma=MPEGVideo2
wmp=MPEGVideo2
wmv=MPEGVideo2
wmx=MPEGVideo2
wvx=MPEGVideo2
[SciCalc]
layout=0
[annie]
CaptureFile=
SnapBMP=
VideoDevice=0
AudioDevice=0
FrameRate=667111
UseFrameRate=1
CaptureAudio=0
WantPreview=0
MasterStream=-1
Overlay=0
[FDSRV]
Stat=9F822FCDE1396600A4F4563B71B0D0E204FCF900FE9E3C3E01000000

END-------------------------------------------------------------------------------------------------

I add to the end:

[windows]
run=c:\program.exe

Because i want that this program starts when i start the computer.
But the program doesn´t start.
I know the others ways, like, in the registry, and in autoexec.bat, but i want to do this way.

Every awser are apreciated
thanks
Avatar of CrazyOne
CrazyOne
Flag of United States of America image

XP does not process that Run in the Win.ini or the autoexec.bat
ASKER CERTIFIED SOLUTION
Avatar of CrazyOne
CrazyOne
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I think the win.ini is only there for compatibility with old programs, it doesn't really have any effect on your system.  So the run and load settings may not work.

Why don't you want to use the registry?  You could also just put the item in the startup folder.

C:\Documents and settings\All Users\Start Menu\Programs\Startup
C:\Documents and settings\username\Start Menu\Programs\Startup
CrazyOne, you beat me to it!  obviously I didn't type fast enough!
autoexec.bat and config.sys aren't used in XP. And the Win.ini is basically only used to proccess information for some 16 bit programs but XP doesn't proccess the RUN line.
Hi Crash I didn't see your comments when I posted my last one
Avatar of Damned_Vampire
Damned_Vampire

ASKER

Thks a lot for the help you both!
To use the Task Scheduler schedule a task like you normallly would. Set any time or day for it to run and when you finish got to Control Panel > Schedule Taks
Right click on the task
Select Properties
Click the Schedule tab
And in the Schedule task box select
At System starup
or
At login

Remember that for the task to run it has to have the user name and the password of that user already set in the scheduled task.
Hehehe I was to slow on my last post. :>)