Windows 7 and autoexec.bat

3.1k Views Asked by At

I am not sure whether autoexec.bat is supported under Windows 7. I need to run some commands at startup but before any user logon.

2

There are 2 best solutions below

0
Birgit Vera Schmidt On BEST ANSWER

There is no way to run a script directly, but you can easily make it run as a service using for example srvany.exe (short for "serve any"). Details can be found here: Best srvany.exe for Windows XP and Windows 7?

Alternatively, using the Windows Task Scheduler should be able to do the trick as well: http://www.sevenforums.com/tutorials/67503-task-create-run-program-startup-log.html

0
Sergio Internicola On

No, there isn't no more.

Yopu can put your startup applications in the Startup folder of the Start button (right click on the Startup folder / Open).