Discussion Locked

autoexec.nt...

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Ok.. up till I installed w2k I have had a few lines in my autoexec.bat file for my startup. One of them is listed below.

del C:\WINNT\TEMP\*.TMP

How can I get this to work in 2000? I have put that line in the autoexec.nt file and created an autoexec.bat file but it doesn't work with either.

I am new to 2000 so it's prolly easy for you to answer this..

thanks

5 replies

by bluebearr

Brian,

Autoexec.nt and Config.nt are used only when an MS-DOS- based application is run with the _Default.pif, not at system boot.

I have a batch file called "Startup Tasks" that performs cleanup activities like deleting temporary files, etc.I have a shortcut to this batch file in my Startup folder (in the Start menu, under Programs). In the properties of the shortcut I have it set to run the window Minimized so that it doesn't intrude on my screen too much.

You might also investigate the Disk Cleanup utility. This is available in the Start: Programs :Accessories: System Tools menu. Microsoft Technet article Q253597 describes how to automate its operation using command line switches. You could schedule it to run each time the system boots using the Scheduled Tasks Control Panel.

Hope this helps!

BlueBearr

by keld mex-jorgensen

I would use group policy and make sure that this policy runs either at startup or at login.
start - run - type mmc enter
click add
choose group policy
Click add - finish - close - ok
Expand local computer policy - computer configuration - windows settings - scripts

The you could crate your own script that would run everytime the computer starts up.

For more info. check www.microsoft.com/technet or the online help searching for group policy and scripts.

Keld Mex-Jorgensen

This discussion is closed to new replies.