-
Notifications
You must be signed in to change notification settings - Fork 110
Description
I might be doing something wrong here, but I haven't been able to fix this so not sure if it's a bug or me being stupid. Using Windows 11.
I'm trying to run a bat with a for/as adding -d ./new/
at the end, so basically extract-xiso game.iso -d ./new/
. I've also tried replacing ./new/
with the full path D:\Xbox\Games\new\
, and tried replacing the back slashes for forward slashes. Last but not least I saw the documentation example and tried adding the iso filename to it as a subfolder, so extract-xiso game.iso -d ./new/game.iso/
. When the batch reached the end it shows open error: -d No such file or directory
.
The issue is that it always extracts to the same folder extract-xiso.exe
is in, instead of in the subfolder /new/
.
I've created a bat with this code (I renamed the exe to !extract-xiso.exe to keep it at the top) and drop iso files onto it:
@echo on
for %%a in (%*) do !extract-xiso %%a -d .\new\%%a\
pause