Runadumb
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Downloads
Gallery
Blogs
Posts posted by Runadumb
-
-
I'm trying this script but can't get it to work. I am receiving this error
QuoteC:\Users\Asval\Desktop\Test>(
rem Extract files to folder new_dir
7za.exe x -y -onew_dir "4x4 Evo (USA).7z"
rem Change dir to new_dir
pushd new_dir
rem Convert
FOR %i IN (*.cue *.gdi *.iso) DO "C:\Users\Asval\Desktop\Test\chdman.exe" createcd -i "%i" -o "%~ni.chd"
rem Delete files
del /q /s *.bin
del /q /s *.cue
del /q /s *.img
del /q /s *.sub
del /q /s *.ccd
del /q /s *.mdf
del /q /s *.mds
del /q /s *.iso
popd
rem Delete archive
del /q /s "4x4 Evo (USA).7z"
)
'7za.exe' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find C:\Users\Asval\Desktop\Test\new_dir\*.bin
Could Not Find C:\Users\Asval\Desktop\Test\new_dir\*.cue
Could Not Find C:\Users\Asval\Desktop\Test\new_dir\*.img
Could Not Find C:\Users\Asval\Desktop\Test\new_dir\*.sub
Could Not Find C:\Users\Asval\Desktop\Test\new_dir\*.ccd
Could Not Find C:\Users\Asval\Desktop\Test\new_dir\*.mdf
Could Not Find C:\Users\Asval\Desktop\Test\new_dir\*.mds
Could Not Find C:\Users\Asval\Desktop\Test\new_dir\*.iso
Deleted file - C:\Users\Asval\Desktop\Test\4x4 Evo (USA).7zC:\Users\Asval\Desktop\Test>pause
Press any key to continue . . .QuoteI have tried renaming both the chdman exe and the one from this line of the script so they are the same but to no avail. When I run the script (which I thankfully set up a test folder to do) it just deletes the zips without doing anything. I have reinstalled 7zip but that hasn't helped and the zip files I want to convert are not in a folder inside the zip
FOR %%i IN (*.cue, *.gdi, *.iso) DO "%~dp0_chdman.exe" createcd -i "%%i" -o "%%~ni.chd"
chd compression support PCSX2 (PlayStation 2)
in Noobs
Posted
Thank you very much, that sorted it. Unfortunately it appears my files are not named with the game name so I am having to manually extract them and use koroth's life saving script to rename the files to the folder name then I begin just a normal CHD conversion process.
Again, cheers for the help.