MCT 0 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 Share this post Link to post Share on other sites