Suggestion to improve TF2008 batch script
(The following post is a 1:1 copy from the 4chan to improve visibility)
Hey so, whoever the fuck set up the batch file is probably fairly inexperienced. If you run it in administrator mode, it WILL attempt to do everything in System32. Even if you don't, the shortcut's "Start in" field can fuck it up too.
There are two ways to avoid that. The braindead way is to tack %~dp0\ to every path(this explodes into the file's drive + file path) or by adding the line
%~d0 & cd %~dp0 & REM Move the CWD to the .bat file's parent directory
somewhere before you start calling file-specific paths.
Hey so, whoever the fuck set up the batch file is probably fairly inexperienced. If you run it in administrator mode, it WILL attempt to do everything in System32. Even if you don't, the shortcut's "Start in" field can fuck it up too.
There are two ways to avoid that. The braindead way is to tack %~dp0\ to every path(this explodes into the file's drive + file path) or by adding the line
%~d0 & cd %~dp0 & REM Move the CWD to the .bat file's parent directory
somewhere before you start calling file-specific paths.
[US-CA]