4

I want to execute a command via the cmd and the folder where I want to do that is a network-mapped drive E:.

enter image description here

Using the cmd, I would like to change to the directory, but getting an error:

C:\>e:
The system cannot find the drive specified.

C:\>cd e:
The system cannot find the drive specified.

C:\>cd /D e:
The system cannot find the drive specified.

C:\>

Searching on SO for similar problems, I came across a post that mentions using pushd:

C:\>pushd /D \\vboxsrv
The network name cannot be found.

Any tips?

magicandre1981
  • 97,301
  • 30
  • 179
  • 245
user3343079
  • 131
  • 1
  • 1
  • 4

1 Answers1

9

This works:

>pushd \\vboxsrv\Dropbox
user3343079
  • 131
  • 1
  • 1
  • 4