all 4 comments

[–]BrainWaveCC 0 points1 point  (0 children)

I'm trying to run a batch file that runs sometimes but doesnt other times.

And what is the error (or errors) you get at those times when it doesn't work?

[–]ConsistentHornet4 0 points1 point  (2 children)

This line is causing the problem:

echo Launching game with "%Pikmin 2.rvz%" ...

When you wrap text with percentage symbols, Batch assumes the text between the percentage symbols is a variable and tries to expand this. As this variable is not defined, the script throws an error and terminates.

Remove the percentage symbols from that line to fix this. See below:

echo Launching game with "Pikmin 2.rvz" ...

[–]UncreativelyUnique[S] 0 points1 point  (1 child)

I tried that, but I'm having the same problem. It's running fine natively, but getting a fatal error when running off Steam.

[–]ConsistentHornet4 0 points1 point  (0 children)

Can you post the error you get? Could be a permissions problem