MCT Posted December 1, 2005 Share Posted December 1, 2005 hey guys, i have a batch script, which lets me make an iso out of a file i right click, with the folder name being the iso name, how can i convert this to au3? expandcollapse popup::Automatic naming ISO script @ECHO OFF SET DIRE=%1 TITLE Creating ISO Image of %DIRE% ECHO. REM ECHO Removing any possible attributes set on %DIRE% and its subfolders... REM ATTRIB -R -H %DIRE% /S /D FOR /F %%G IN ("%DIRE%") DO SET DCT=%DIRE: =_% FOR /F %%Q IN ("%DCT%") DO SET LABL=%%~nQ :ASK SET REPLY= SET /P REPLY=Make ISO Bootable Y/N? SET REPLY=%REPLY:~0,1% IF "%REPLY%"=="y" GOTO BOOTISO IF "%REPLY%"=="Y" GOTO BOOTISO IF "%REPLY%"=="n" GOTO DATAISO IF "%REPLY%"=="N" GOTO DATAISO ECHO Invalid Response! try again. GOTO ASK :BOOTISO ECHO. ECHO Creating ISO... CDIMAGE.EXE -l%LABL% -h -j1 -m -o -b%SystemRoot%\system32\xpBoot.img %DIRE% %DIRE%.iso ECHO. GOTO ENDIT :DATAISO ECHO. ECHO Creating ISO... CDIMAGE.EXE -l%LABL% -yd -n -h -x -o -m -d %DIRE% %DIRE%.iso ECHO. GOTO ENDIT :ENDIT PAUSE EXIT Link to comment Share on other sites More sharing options...
MCT Posted December 2, 2005 Author Share Posted December 2, 2005 anyone? thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now