<p>I'd like to know how to convert Perforce depot locations to client view locations for the purpose of script writing.</p>

<p>I have a script that first checks out a file for edit in perforce and then interacts with the file.   I need to have the depot location (i.e. \Projects\Project6) converted to the client view location.  (i.e. d:\Projects\Project6).</p>

<p>Is this possible?</p>

Check out the
```
p4 have
```
command. You give it
either
a depot location
or
a client filename and it gives you the depot location, client filename,
and
what version of that file you have.