run DOS prog on bootup only?

dbarton

Senior member
Apr 11, 2002
767
0
76

Under XP, I want to run a batch file once only, when I first boot up.

If I put it in autoexec.bat, I dont think it runs. (autoexec only does SET commads now, right?)

If I put it in Autoexec.nt. it runs every time I go to a dos shell.

Whats the right way to do it these days?
 

dbarton

Senior member
Apr 11, 2002
767
0
76

I was thinking of something in DOS before windows started, but Start menu seems to make perfect sense too.

Thanks!