Is there anyway to do this?
If you don't to map a network drive with
This will create a temporary mapped drive automatically for you and make it your current working directory.
When you're finished on the network share enter the
If you only want to perform a few actions on the drive (such as move, copy, etc.) then you can use the command line syntax and \ \SERVER\FOLDER\FILE
That command will copy whatever file you specify into the CWD (Current Working Directory).
To make a directory
To delete a directory
This method is really only useful if you want to perform one or two operations across the network and can't be bothered mapping the network drive. Or, as in my case, where the network drive is in a different state and the lag when working with files and folders is painful. It's easier to use command line to copy the file to my desktop and view it from there, than try and open it across the network.
Otherwise, I'd use pushd and popd as suggested by Dave Webb.