Create symlink to a mapped network drive

poisoborz

Distinguished
Jun 15, 2009
14
0
18,510
Hola,
I've read that with the mklink command one can create symlinks in windows to mapped network drives. still, whenever I add such a drive as a parameter to the command, I get the error "the file or directory is not a reparse point".
What could be the problem? Is there another way to create a symlink on a network destination?
 
Are you using an elevated command prompt (run as admin)?
And are you using the following command: mklink /d <folder location> \\server\<folder name>

For instance: mklink /d c:\shared\videos \\pc2\videos
 
I just realized that I tried to do things the other way round:
seemingly you can't specify a network drive as target, only as source, like
mklink /d D:\photos \192.168.1.4\photos