Help - Search - Members - Calendar
Full Version: begginer
The CD Forum > CD Shell and Boot Scriptor > Troubleshooting & Problems
I am a beginner with cdshell .I need somme help .I am using the tutorial to create my cd menu but mkisofs.exe not working to build my iso . I have created a iso batch with the script
"@echo off
mkisofs -b loader.bin -hide loader.bin -no-emul-boot -boot-load-size 4 -l -o main.iso boot
pause "
but i get the error "invalid mode -boot"
Where is the mistake ???
Do you crosspost over forums?

but i get the error "invalid mode -boot"
Where is the mistake ???

It's a mistake, not to list the true error message.

Do you get ?
mkisofs: No such file or directory. Invalid node - 'boot'.

Current work directory is importand.
If you like to add current work directory, use a point.

mkisofs -b loader.bin -hide loader.bin -no-emul-boot -boot-load-size 4 -l -o main.iso .
Assuming that your cmd file is in the same directory as mkisofs then its always a good idea to force the current directory at the start of the command file so that its the same as the command file. This is done by adding:

cd /d "%~dp0"

to the batch file. The directory boot must be an immediate subdirectory of the current directory.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2015 Invision Power Services, Inc.