On windows standard console, just use
SET PATH=%PATH%;c:\Directory\sub\gitdir
then a call to
should display the modifications added to the variable.
You also could add the path to your user/system default PATH environment variable.
In the System properties dialog box there is a way for that.
(http://forum.outpost2.net/index.php?action=dlattach;topic=6066.0;attach=1175;image)
you also can do a cmd file with
@echo off
cd C:\Temp
SET PATH=%PATH%;c:\Directory\sub\gitdir
SET PATH=%PATH%;c:\Directory\sub\whateverdir
cmd.exe
When you launch it the cmd.exe at the end inherit the updated Path above (or any other environment variables needed)
Just avoid the lines below to be displayed.