Cube.Bat should contain %* vs. %1 %2 %3 %4 %5
Brought to you by:
aardappel
Problem:
Dos batch files support %1, %2, and so to represent
each command-line parameter sent to the batch file in
question. Thankfully there is also a %* which avoids
the lengthy and impossible task of guessing exactly how
many command-line parameters the user will apply.
Cube.bat currently employs the guessing game method by
supporting only %1 - %5.
Please replace the current cube.bat's
contents(cube_2003_12_23.zip):
bin\cube.exe -w1024 -h768 %1 %2 %3 %4 %5
with:
bin\cube.exe -w1024 -h768 %*
Improvements:
1. All parameters will be caught
2. Faster startup times (minescule)
3. Smaller file size (minescule)
Thanks,
Christian Blackburn
Logged In: YES
user_id=882246
not a big deal, but fixed it anyway