PDA

View Full Version : autoexec file?


Romulus
02-25-2003, 05:37 PM
I'm trying to find my way around my new Windows 2000 Pro and I have a question that somebody out there can hopefully answer.
I wanted to get rid of the temp files, etc. that are in the Temp directory every time the computer boots. Normally I would just stick a "DEL c:\windows\temp\*.* in the autoexec.bat file, but in Windows 2000 there ins't any such file.

Is the autoexec.nt file the same thing?

...and if it is and I add "DEL C:\WINNT\Temp\*.*" to it, will that accomplish what I want?
Or do I have to use a different command/different file??

Spookster
02-25-2003, 05:50 PM
Of course there is an autoexec.bat file. Unless of course it is not needed. My Win2000 Pro at work has one.....just nothing in it. Click Start --> Run and type sysedit.

Romulus
02-25-2003, 06:19 PM
the sysedit didn't do anything. It gave me the hour glass and you could hear the comp. thinking about something and then....nothing.
As for the autoexec.bat file. I searched for one and the only file I could find was autoexec.nt.

any other suggestions??

Roelf
02-25-2003, 06:26 PM
create a cmd-file, put it in the startup folder

Romulus
02-25-2003, 07:47 PM
that seems to have worked. I just wrote a little batch file and stuck it in there and when the Windows loads, you can just see it for a sec doing its thing
thanks again.

Spookster
02-25-2003, 08:48 PM
Well your autoexec.bat file should be located in your root directory. If you don't have one then you can just create one and put your command in there. Sysedit is just a little program that opens up all your configuration files for editing.

chrismiceli
02-27-2003, 11:54 PM
i think you could also just edit the win.ini file, i don't know if win 2000 has it, but there is a line that has run=.... just add your batch file there.