trying to make symbolic link but have spaces in folder name

6,863

Try using this for your spaces:

%\

Or setting the path in double quotes:

C:\mklink /D C:\Users\Drew\Copy [email protected]\Pictures "C:\Users\Drew\Pictures"
Share:
6,863

Related videos on Youtube

user169126
Author by

user169126

Updated on September 18, 2022

Comments

  • user169126
    user169126 almost 2 years

    I'm trying to make a symbolic link via the windows command prompt. I am using a drop box-like service called Copy. it creates a new folder which it syncs to the web and other computers that it's installed on. I want to sync my pictures folder to it without creating duplicates on the hard drive.

    This is the command I'm entering, but I keep getting an error message, and i think it has to do with the space in my folder name. Please let me know if that's the problem and what i can to do fix it. thank you in advance

    C:\mklink /D C:\Users\Drew\Copy [email protected]\Pictures C:\Users\Drew\Pictures

  • user169126
    user169126 over 10 years
    That worked! Thank you so much! Do I need to mark this thread as resolved?