In the previous entry of this series, we discussed about how Windows Vista forced a path change when running a batch file elevated with UAC enabled, which causes the current directory to be different from the batch file location, which creates some problems when running some external tools residing in the batch file directory. The solution I found was to change the current directory at the very start of the batch file execution using a simple sequence.