Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cant get symbolic link to work (windows 7) cmd

Am trying to create a symbolic hard link so that I can move chrome's cache to another harddrive, I have been trying to get it to work, but every variation I have tried has come back from the command line that my syntax is incorrect. From what ive seen seaching about this error is normaly todo with the quotation marks.

Anyway this is what I have so does anything have any idea why its returning "The syntax of the command is incorrect"

Thanks

mklink /J “C:\Users\Vodkaholic\AppData\Local\Google\Chrome\User Data” “K:\Chrome\User Data”
like image 686
VK27 Avatar asked Apr 16 '12 00:04

VK27


People also ask

How do I enable symbolic links?

How To Enable using Symbolic Links. The user must be given the "Create Symbolic Links" privilege or be in a group that has been given that privilege. If User Account Control (UAC) is on, any user with the "Create Symbolic Links" privilege that is not in the Administrators group can simply create a symbolic link.

How do I open a symbolic link in Windows?

You can create symbolic links using the mklink command in a Command Prompt window as Administrator. To open one, locate the “Command Prompt” shortcut in your Start menu, right-click it, and select “Run as Administrator”.


1 Answers

Use straight quotes (") instead of smart quotes.

like image 78
SLaks Avatar answered Oct 22 '22 13:10

SLaks