as mentioned in other posters: the regular approach is to edit the properties of the shortcut and fill in the "start in" field. just like that.
however, for some reason this does not affect systems with UAC enabled, if at the same time you also enable the "run as administrator" checkbox in the advanced properties of the shortcut.
the solution is to put everything in the "target" field of the shortcut:
%windir%\System32\cmd.exe /K cd /d "E:\My Folder" & sometest.bat
when working on 64 bits, and you want to explicitly run the 32-bit taste of the command line:
%windir%\SysWOW64\cmd.exe /K cd /d "E:\My Folder" & sometest.bat
for more information about the command line options above:
cmd.exe /?
cd.exe /?
Opmet source share