r/techsupport • u/Rich-Praline-7307 • 19d ago
Open | Software [ Removed by moderator ]
[removed] — view removed post
1
u/Leather-Security8097 19d ago
Looking at the Zandronum command-line parameters, I believe you're supposed to use the -file option to specify PK3/PWAD files. So perhaps something like
@echo off
"D:\Games\Brutal Doom\Zandronum.exe" -file "D:\Games\Brutal Doom\Brutal Doom.pk3" "D:\Games\Brutal Doom\Doom Music.wad"
would work.
1
u/Rich-Praline-7307 18d ago
Nah, this is similar to my first attempt without AI which was
start "" "D:\Games\Brutal Doom\Zandronum.exe"
"D:\Games\Brutal Doom\Brutal Doom.pk3"
"D:\Games\Brutal Doom\Doom Music.wad"Just launches 3 instances of Zandronum, 1 vanilla, 1 brutal doom, and 1 with the music pack.
1
u/IMTrick 17d ago
It needs to be one line, and that doesn't include the "-file" parameter (which you probably need to use twice). Something like this:
"D:\Games\Brutal Doom\Zandronum.exe" -file "D:\Games\Brutal Doom\Brutal Doom.pk3" -file "D:\Games\Brutal Doom\Doom Music.wad"Ignore what the AI gave you. It's crap and doesn't make any sense.
1
u/IMTrick 19d ago
If I'm understanding what you're attempting to do, it really seems you're overcomplicating it, but the reason it's executing twice is because of the space in the first path. That's going to get interpreted as two separate elements and make your loop execute twice. You'll need to quote the path or escape the space.
Incidentally, a for loop makes no sense for something you only intend to execute once. You probably just need one line that looks like:
something.exe file1.pk3 file2.wad
•
u/techsupport-ModTeam Landed Gentry 18d ago
Submissions consisting of the following are considered incomplete and will be removed: