Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find local path

Status
Not open for further replies.

simonchristieis

Programmer
Jan 10, 2002
1,144
GB
How can I find the local path of where I am located in the directory ?

eg

open cmd prompt.

Code:
cd c:/test

set localpath=whatevercommand

echo %localpath%

c:/test

Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top