Solved Setting autoexec.bat in Win 7 or Win10

August 28, 2019 at 22:34:57
Specs: Windows 10
I tried answering a question on this but had to create a new contribution.

I wanted to execute a SUBST (yes I know the pros and cons) and have it on boot up.

I found a simple way to set/edit autoexec.bat is to place it in this folder:
C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

This avoids issues with Win 7 or Win 10 deleting/hiding an autoexec.bat in the root C:\ drive.

I find the autoexec.bat file runs about 10 seconds after the start menu appears.


message edited by coriander

See More: Setting autoexec.bat in Win 7 or Win10

August 29, 2019 at 08:34:21
placed a "WINXP startup music.mp3" in low quality there on my brothers old laptop in that dir.

his laptop is soo bad it laggs and plays the file like 6 times in a row @100% volume.

still laugh every time i hear him rage haha

and yes i asked him if i needed to remove it :), denied

i5-6600K[delid]@4.828GHz Core/4.627GHz cache@1.456v | 2x4GB Crucial-DDR4-2400MHzCL17@3018MHzCL12@1.465v | Sapphire Nitro+ SE RX 590 8GB@1645Mhz core@1.15v/2236MHz

Report •

August 30, 2019 at 06:01:51
✔ Best Answer
Windows just runs anything it finds in there, pretty powerful if you ask me. Note this is after startup, not during startup, like autoexec used to be :)

And if he is deleting the file still, just rename it (with an executable extension of course).

Report •
Related Solutions

Ask Question