Skip to content

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

@s1h4d0w

Description

@s1h4d0w

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions