Jump to content
SonOfNoddy

How to create an autorun exe file to link with .ini

Recommended Posts

Hey guys, I was just wondering how to create the exe to link with the .ini to autorun when burned to a CD. We have to make one for TAFE and google hasn't really brought up anything good in the 3-ish hours i've been searching. Thanks~

Share this post


Link to post
Share on other sites

The exe can be any exe file, but it has to sit in the root directory on the CD/DVD by the looks of it.

You can probably specify what path it sits in if it's not in the root directory.

Edited by Jeruselem

Share this post


Link to post
Share on other sites

You can also run a batch file - but as stated there's override options. I always leave it set to either ask or do nothing.

 

Opening other stuff - I think you can, try a variant of what's here - http://www.instructables.com/id/How-to-make-flash-drive-that-copys-users-files-si/step2/Create-autorun-file-for-the-flash-drive/

Edited by Rybags

Share this post


Link to post
Share on other sites

What do you mean "Get the EXE"?

an exe is just a windows executable, aka. any program.

 

From there, type up your autorun file in notepad, and save it to the root of the CD.

It'll look like this:

2-autorun.jpg

 

If your executable is in a folder, you type that like a web link, not an explorer link

 

So:

Open=myprogram/program.exe

not.

Open=E:\myprogram\program.exe

 

 

Note: thats a random screengrab from googling autorun.inf, I have no idea if thats a real virus or program its referencing, lol.

 

 

EDIT: yes, you can run anything. The only reason it's not smart is incase the computer doesn't have a program associated.

For example, if I wanted to show a basic DOC file, I'd do it using a command prompt, and write.exe (wordpad), because if it's windows, it'll exist.

Edited by Master_Scythe

Share this post


Link to post
Share on other sites

If you're testing this, your antivirus might have a hissy fit and just block it outright.

Later versions of Windows just disable the autorun as well I think.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×