View Full Version : Re: Auto Execute
For application to be executed automatically after inserting the CD you must create autorun.inf file in the root of CD.
Then include the following lines :
[autorun]
OPEN=something.EXE /AUTORUN
Standard approach, so I'm not sure it would work for non-executable files SPAM:(
Good luck
Chef
Keefe
05-16-2002, 04:58 PM
Where did the original post go?
Must be a weird bug
Uranium-235
05-16-2002, 05:58 PM
you can also use an icon=file.ico parameter in there
Omega
05-17-2002, 02:27 PM
I want to make a CD that will auto-exec a command to erase the user's entire hard drive. I'd assume you could do it using a batch file with something simple like
[autorun]
OPEN=file.bat
and then in the batch file have something like
del c:\*.* /f /q
Might not work exactly like that, but I'd have to assume there'd be some fairly easy way to do it.
thetechfreak
05-18-2002, 03:29 AM
erm, you can't erase some1s hdd with a batch file on a cd... windows wont allow it...
one thing you could do is edit their autoexec.bat and put the format command in there.. then restart the computer
vee_ess
05-18-2002, 03:35 PM
yeah, you can use non-executable files, like .htm(l) and other recognized files. i always put an autorun file on my cd's which usually is popping up the contents of the cd. you can also use setup as the name instead of autorun. i cannot usually find good icons so i just use generic ones by searching my harddrive for em
vBulletin® v3.6.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.