AlmnThis brings the current PATH in the variable cp.
FOR /F "delims=" %%i IN ('cd') DO set cp=%%i
hope this helps uliOn some machines %cd% will work equally well. Please specify your OS when POSTING questions. It makes life a lot easier for everyone.