You need to make sure that the drive is mapped under the user which is running the command prompt. Try typing
net use U: and see what info it gives you. If it’s not showing the drive as being mapped, try remapping the drive (
net use U: \\servername\share\path\).
You can also try changing directories by using
cd /d U:, rather than just
U:. This won’t help you though if the network path doesn’t exist.
CD if in the user account where drive is mapped.If you are in a Elevated Command you are no longer in the mapped user account.
Win 7: net use U: \servername\share\path\
win 8: pushd \servername\share\path\
In case you’re using Windows 8 the
pushd command will help you
Windows PowerShell in Administrator mode will allow you to perform MS-DOS Commands you are looking for.
Open Windows PowerShell… Type CD …
PS C:\> CD U:\
Hope that helps.