@SET SPTOOLSDIR=C:\Program Files\SharePoint Portal Server\Bin Next locate the line starting with "@set PATH=" and insert "%SPBINDIR%;%SPTOOLSDIR%;, so the line looks like: @set PATH=%SPBINDIR%;%SPTOOLSDIR%;%DevEnvDir%;… ...
Microsoft SharePoint Full Article Link - Set Path for Command-Line Tools for SharePoint Developers