For example, I have the following dirs:
g:\c\env.lnk <--- this is the shortcut for cmd.exe
g:\c\misc\shell.bat <--- call vcvars32.bat and set path
g:\c\src\ <--- .c files
In the "Target:" field of the env.lnk(cmd.exe shortcut):
%windir%\System32\cmd.exe /k "%CD%\misc\shell.bat"
In the "Start in:" field:
%CD%\src
It works fine, except it starts in g:\c, not in g:\c\src
So how to make it work, I want to start in g:\c\src, and I want to use relative path