Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-d doesn't seem to work when extracting with bulk .bat #61

Open
s1h4d0w opened this issue Mar 11, 2022 · 1 comment
Open

-d doesn't seem to work when extracting with bulk .bat #61

s1h4d0w opened this issue Mar 11, 2022 · 1 comment

Comments

@s1h4d0w
Copy link

s1h4d0w commented Mar 11, 2022

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

And I have my folder structure set up like this:
image

@0ddb0d
Copy link

0ddb0d commented Jul 24, 2023

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/.

This is the same as issue #71, the option parameter (-d) must be specified before the mode parameter. Other than that your batch looks fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants