Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 285
  • Last Modified:

autorun file in boot dvd

Hi there,

I have successfully used nero to create a bootable dvd which contains an executable *.exe image file.

I was wondering if i can have a simple file like autorun.inf containing the command d:\boot.exe so when it boots it auto-runs the command

d:\boot.exe [return]..

I have memory of autoexec.bat being automatically called (in previous versions of windows?) but its been a long time since i've played around with anything similar.

the other thing to note is that creating a bootable dvd with nero has its own kind of emulator that it runs not the traditional files used off bootable floppies etc.

any ideas are much apprecaited.

-twans
0
twans
Asked:
twans
  • 2
  • 2
1 Solution
 
callrsCommented:
http://autorun.moonvalley.com/autoruninf.htm
http://autorun.moonvalley.com/          Autorun.inf Editor - Create Autoplay CDs

: )
0
 
twansAuthor Commented:
Thanks for the links callrs.

What im after though is an autorun from the boot not from windows.

Primary exmaple is this:

you put a linux installation disk in when booting a machine, and it will auto-load its own menu etc (opposing to a windows cd which says 'press any key to boot from cd'

what i want is the same effect, so it boots from cd and automatically starts the d:\boot.exe file - like an automated process.

the level im referring to is above windows as it should be OS independent and more related to the boot loader
0
 
callrsCommented:
>> have successfully used nero to create a bootable dvd
What OS does it boot into?
If it's DOS, then all you have to do is add this line to the autoexec.bat file that should be in the root folder of the CD.
d:\boot.exe

If autoexec.bat file is NOT in the root folder, then you can add a new file by that name & then it will run
------
If the CD is a Linux boot CD, then it likely also looks for a file with a certain name to load up startup tasks...
---------
Other info:
http://nightowl.radified.com/bootcd/bootcdintro.html
http://www.ultimatebootcd.com/
http://www.nu2.nu/pebuilder/
0
 
twansAuthor Commented:
Thanks callrs,

exactly what i was after.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now