Techware Labs Header

Forums have moved

See this announcement for more details, or just go directly there.

  #1  
Old 05-16-2002, 02:43 PM
Chef
 
Posts: n/a
Default 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  

Good luck
Chef
Reply With Quote
  #2  
Old 05-16-2002, 03:58 PM
Keefe Keefe is offline
Administrator
 
Join Date: May 2002
Location: Wisconsin
Posts: 2,337
Send a message via ICQ to Keefe Send a message via AIM to Keefe Send a message via MSN to Keefe Send a message via Yahoo to Keefe
Default Re: Auto Execute

Where did the original post go?

Must be a weird bug
__________________
It's crazy I'm thinking, just knowing that the world is round.
-http://www.techwarepc.com/ - The Technology Experts
Reply With Quote
  #3  
Old 05-16-2002, 04:58 PM
Uranium-235's Avatar
Uranium-235 Uranium-235 is offline
Administrator
 
Join Date: Nov 2001
Location: Mansfield, TX
Posts: 2,469
Send a message via ICQ to Uranium-235 Send a message via AIM to Uranium-235
Default Re: Auto Execute

you can also use an icon=file.ico parameter in there
Reply With Quote
  #4  
Old 05-17-2002, 01:27 PM
Omega Omega is offline
Administrator
 
Join Date: Nov 2001
Location: Minneapolis, MN, USA
Posts: 957
Send a message via ICQ to Omega Send a message via AIM to Omega Send a message via MSN to Omega Send a message via Yahoo to Omega
Default Re: Auto Execute

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.
Reply With Quote
  #5  
Old 05-18-2002, 02:29 AM
thetechfreak
 
Posts: n/a
Default Re: Auto Execute

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
Reply With Quote
  #6  
Old 05-18-2002, 02:35 PM
vee_ess's Avatar
vee_ess vee_ess is offline
Super Moderator
 
Join Date: Aug 2001
Location: Phoenix, Arizona
Posts: 2,781
Send a message via ICQ to vee_ess Send a message via AIM to vee_ess Send a message via MSN to vee_ess Send a message via Yahoo to vee_ess
Default Re: Auto Execute

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:49 PM. Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum style by ForumMonkeys.