10

I would like to map one folder, which unavoidably has brackets in it's path, to another virtual folder that I can use to access it without brackets in the path.

For example:

C:\Users\Marc\Dropbox (Company Name)\

would be accessible via something like:

C:\MyVirtualDropboxFolder\

1 Answer 1

12

I would like to map one folder to another virtual folder

You can use mklink in a cmd shell:

mklink /d C:\MyVirtualDropboxFolder "C:\Users\Marc\Dropbox (Company Name)" 

Notes:

  • The Target is quoted as the name contains spaces.
  • The above command creates a Directory symbolic link.
  • See the table below for other kinds of link you might consider making instead.
  • All the links types are persistent (until they are deleted).
  • To explicitly delete them see "How to delete" in the last column of the table below.

mklink

Create a symbolic link to a directory or a file, or create a hard file link or directory junction

Syntax

MKLINK [[/D] | [/H] | [/J]] Link Target

Key:

/D Create a Directory symbolic link. (default is file)

/H Create a hard link instead of a symbolic link.

/J Create a Directory Junction.

Link The new symbolic link name.

Target The path (relative or absolute) that the new link refers to.

enter image description here

Source mklink


Further Reading

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .