Making an autorun program.

Status
Not open for further replies.

Axe_mann

Beta member
Messages
2
Hey i am new to prgramming and i make small annoying bat files. i was wondering though how do you make an autorun program?:confused:
 
bradybnmci said:

u mean autoexec.bat? since its referenced in the link.

i dont think 2k or xp executes these files on windows startup by default.

http://www.annoyances.org/exec/forum/winxp/t1031935583
Not sure but try this one. Run regedit go to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" at the right pane add a string value "ParseAutoexec" (no quotes) and give value 1 to the string. Hope this help...


it seems autoexec.nt may execute before a dos window opens though.

http://support.microsoft.com/kb/314106/
Check the Config.nt and Autoexec.nt files in the SystemRoot%\System32 folder for non-standard settings.


on the flipside, autorun is a function of any cd/dvd drive that executes when you insert the cd and the cd contains properly formatted file named autorun.inf

Autorun.inf Entries


if you want the batch files to execute on windows startup, id place them in either A- windows start menu startup folder, which loads after windows logon or B- windows registry Run key Run and RunOnce Registry Keys
 
its for a bat to send!

the tiltle sums it up. i just need it to run a bat file when i send it to another computer!!!
 
Go to Start>Run and type in gpedit.msc

Under Local Computer Policy > Computer Configuration > Windows Settings >Scripts
There you can set start up and shut down scripts. Dont know if that helps?
 
Status
Not open for further replies.
Back
Top Bottom