Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › mklink syntax problems Win 7 64bit
New Posts  All Forums:Forum Nav:

mklink syntax problems Win 7 64bit

post #1 of 8
Thread Starter 
Don't know if any of you have experience with mklink but iv been having stupid problems. Here is a pic, I know im doing something wrong. But I don't know what.
TIA



Oh hey forgot to add one thing, root drive links work. Like mklink /d C:\\music E:\\stuff

That works fine, but when its more than 2 folders deep in the drive I get the syntax error.
LL
post #2 of 8
Oh! Use parentheses around "x86" instead of the Greater Than and Less Than brackets ('<' and '>').

So use "(x86)" instead of "<x86>". They look almost identical in cmd.exe.
It's a computer!
(19 items)
 
  
CPUMotherboardGraphicsRAM
i5-2500K @ 4.5GHz (1.368-1.384V fixed voltage) ASUS P8P67 EVO B3 (UEFI ver. 1850) GTX 780 ASUS DirectCU II (1228 / 6300, 1.180V) G.SKILL Ripjaws X 8GB (2 x 4GB) 1866MHz, CL9 
Hard DriveHard DriveHard DriveOptical Drive
250 GB Samsung 840 EVO (C:\) 250 GB Samsung 840 EVO (D:\) 150 GB WD VelociRaptor Samsung SH-S243N 24x DVD Burner 
Optical DriveCoolingOSMonitor
Samsung SH-S203N 20X DVD Burner Thermaltake Frio Win 7 Home Premium x64 SP1 Retail AOC G2460PG (24" 1920 x 1080 144Hz G-SYNC) 
KeyboardPowerCaseMouse
Filco Majestouch 104-key Cherry MX Blues w/NKRO Corsair HX650 (Bronze, ordered on 12-12-2009) CM 690 Intellimouse Optical (1.1A) 1000Hz polling rate 
Mouse PadAudioAudio
Basic, but premium round X-Fi Titanium HD Klipsch ProMedia 2.1 (with 16 AWG Monster Cable... 
  hide details  
Reply
It's a computer!
(19 items)
 
  
CPUMotherboardGraphicsRAM
i5-2500K @ 4.5GHz (1.368-1.384V fixed voltage) ASUS P8P67 EVO B3 (UEFI ver. 1850) GTX 780 ASUS DirectCU II (1228 / 6300, 1.180V) G.SKILL Ripjaws X 8GB (2 x 4GB) 1866MHz, CL9 
Hard DriveHard DriveHard DriveOptical Drive
250 GB Samsung 840 EVO (C:\) 250 GB Samsung 840 EVO (D:\) 150 GB WD VelociRaptor Samsung SH-S243N 24x DVD Burner 
Optical DriveCoolingOSMonitor
Samsung SH-S203N 20X DVD Burner Thermaltake Frio Win 7 Home Premium x64 SP1 Retail AOC G2460PG (24" 1920 x 1080 144Hz G-SYNC) 
KeyboardPowerCaseMouse
Filco Majestouch 104-key Cherry MX Blues w/NKRO Corsair HX650 (Bronze, ordered on 12-12-2009) CM 690 Intellimouse Optical (1.1A) 1000Hz polling rate 
Mouse PadAudioAudio
Basic, but premium round X-Fi Titanium HD Klipsch ProMedia 2.1 (with 16 AWG Monster Cable... 
  hide details  
Reply
post #3 of 8
Thread Starter 
Poo, didnt work the problem seams to be if the link is more than 2 folders deep into the drive. But iv seen so many ppl do it. Sigh, dont know what im doing wrong Q_Q
post #4 of 8
Quote:
Originally Posted by timma100 View Post
Poo, didnt work the problem seams to be if the link is more than 2 folders deep into the drive. But iv seen so many ppl do it. Sigh, dont know what im doing wrong Q_Q
so using mklink /d C:\\Program Files (x86)\\Steam\\steamapps E:\\Games instead of mklink /d C:\\Program Files <x86>\\Steam\\steamapps E:\\Games doesn't work?

Then that's all I can help with.
It's a computer!
(19 items)
 
  
CPUMotherboardGraphicsRAM
i5-2500K @ 4.5GHz (1.368-1.384V fixed voltage) ASUS P8P67 EVO B3 (UEFI ver. 1850) GTX 780 ASUS DirectCU II (1228 / 6300, 1.180V) G.SKILL Ripjaws X 8GB (2 x 4GB) 1866MHz, CL9 
Hard DriveHard DriveHard DriveOptical Drive
250 GB Samsung 840 EVO (C:\) 250 GB Samsung 840 EVO (D:\) 150 GB WD VelociRaptor Samsung SH-S243N 24x DVD Burner 
Optical DriveCoolingOSMonitor
Samsung SH-S203N 20X DVD Burner Thermaltake Frio Win 7 Home Premium x64 SP1 Retail AOC G2460PG (24" 1920 x 1080 144Hz G-SYNC) 
KeyboardPowerCaseMouse
Filco Majestouch 104-key Cherry MX Blues w/NKRO Corsair HX650 (Bronze, ordered on 12-12-2009) CM 690 Intellimouse Optical (1.1A) 1000Hz polling rate 
Mouse PadAudioAudio
Basic, but premium round X-Fi Titanium HD Klipsch ProMedia 2.1 (with 16 AWG Monster Cable... 
  hide details  
Reply
It's a computer!
(19 items)
 
  
CPUMotherboardGraphicsRAM
i5-2500K @ 4.5GHz (1.368-1.384V fixed voltage) ASUS P8P67 EVO B3 (UEFI ver. 1850) GTX 780 ASUS DirectCU II (1228 / 6300, 1.180V) G.SKILL Ripjaws X 8GB (2 x 4GB) 1866MHz, CL9 
Hard DriveHard DriveHard DriveOptical Drive
250 GB Samsung 840 EVO (C:\) 250 GB Samsung 840 EVO (D:\) 150 GB WD VelociRaptor Samsung SH-S243N 24x DVD Burner 
Optical DriveCoolingOSMonitor
Samsung SH-S203N 20X DVD Burner Thermaltake Frio Win 7 Home Premium x64 SP1 Retail AOC G2460PG (24" 1920 x 1080 144Hz G-SYNC) 
KeyboardPowerCaseMouse
Filco Majestouch 104-key Cherry MX Blues w/NKRO Corsair HX650 (Bronze, ordered on 12-12-2009) CM 690 Intellimouse Optical (1.1A) 1000Hz polling rate 
Mouse PadAudioAudio
Basic, but premium round X-Fi Titanium HD Klipsch ProMedia 2.1 (with 16 AWG Monster Cable... 
  hide details  
Reply
post #5 of 8
Thread Starter 
Quote:
Originally Posted by TwoCables View Post
so using mklink /d C:\\Program Files (x86)\\Steam\\steamapps E:\\Games instead of mklink /d C:\\Program Files <x86>\\Steam\\steamapps E:\\Games doesn't work?

Then that's all I can help with.
Its all good, thank you anyway ^_^ there must be something wrong with what im doing Q_Q
post #6 of 8
gotta put quotes around the file path with spaces in them. mklink /d C:\\Program Files (x86)\\Steam\\steamapps should be mklink /d "C:\\Program Files (x86)\\Steam\\steamapps".
SFG II
(17 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 Asus P6T Sapphire Radeon 6850 6GB Crucial DDR3 1333 
Hard DriveHard DriveHard DriveOS
OCZ Vertex 2 HITACHI Deskstar 5K3000 SAMSUNG EcoGreen F4 Linux Mint 12 
OSOSMonitorKeyboard
Windows 7 Home premium Backtrack 5 Dual 22" Samsung SyncMaster 2253LW Saitek Eclipse 
PowerCaseMouse
PC Power&Cooling Silencer 610 NZXT Phantom Black Logitech M505 Wireless 
  hide details  
Reply
SFG II
(17 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 Asus P6T Sapphire Radeon 6850 6GB Crucial DDR3 1333 
Hard DriveHard DriveHard DriveOS
OCZ Vertex 2 HITACHI Deskstar 5K3000 SAMSUNG EcoGreen F4 Linux Mint 12 
OSOSMonitorKeyboard
Windows 7 Home premium Backtrack 5 Dual 22" Samsung SyncMaster 2253LW Saitek Eclipse 
PowerCaseMouse
PC Power&Cooling Silencer 610 NZXT Phantom Black Logitech M505 Wireless 
  hide details  
Reply
post #7 of 8
Quote:
Originally Posted by Super Coffee View Post
gotta put quotes around the file path with spaces in them. mklink /d C:\\Program Files (x86)\\Steam\\steamapps should be mklink /d "C:\\Program Files (x86)\\Steam\\steamapps".
Yes quite, if there is a space in the path you need to let the command know you don't mean that's the end of that path. You do that by putting quotes around the entire path. So as Super Coffee just pointed out
Code:
mklink /d "C:\\Program Files (x86)\\Steam\\steamapps" E:\\Games
should do the trick.

Also in reference to that < vs ( thing, in fact the original screenshot is using (. They just look fairly angular in that fixedsys(?) font. Compare the > in the C:\\Users\\David to the ) in the command and you can see the difference.
The Oracle
(16 items)
 
Pythia
(14 items)
 
 
CPUMotherboardGraphicsRAM
i7 4790K Gigabyte GA-Z97X-GAMING 5 Gigabyte GeForce GTX 780Ti WindForce 3x OC Corsair Vengeance 2x8GB DDR3 1866MHz  
Hard DriveHard DriveHard DriveCooling
Samsung 256GB 850 Pro Samsung 256GB 840 Pro Westerb Digital Caviar Black 1TB XSPC Rasa ES240 + 2 GT AP-15s 
OSMonitorKeyboardPower
Windows 8.1 Pro Samsung SyncMaster S27A850D 27" LCD Corsair K70 Corsair AX850 
Case
Corsair 650D 
CPUMotherboardRAMHard Drive
i3 4130 Gigabyte GA-B85M-HD3 Corsair 2x4gb DDR3 1600mhz Low Profile CL9 1.35v WD Blue 500GB (OS) 
Hard DriveOSMonitorPower
WD Green 4TB, 2TB Ubuntu x86_64 14.04.1 LTS ssh or vnc SuperFlower Golden Green HX 350W 
Case
Corsair 350D, GT AP-13 
  hide details  
Reply
The Oracle
(16 items)
 
Pythia
(14 items)
 
 
CPUMotherboardGraphicsRAM
i7 4790K Gigabyte GA-Z97X-GAMING 5 Gigabyte GeForce GTX 780Ti WindForce 3x OC Corsair Vengeance 2x8GB DDR3 1866MHz  
Hard DriveHard DriveHard DriveCooling
Samsung 256GB 850 Pro Samsung 256GB 840 Pro Westerb Digital Caviar Black 1TB XSPC Rasa ES240 + 2 GT AP-15s 
OSMonitorKeyboardPower
Windows 8.1 Pro Samsung SyncMaster S27A850D 27" LCD Corsair K70 Corsair AX850 
Case
Corsair 650D 
CPUMotherboardRAMHard Drive
i3 4130 Gigabyte GA-B85M-HD3 Corsair 2x4gb DDR3 1600mhz Low Profile CL9 1.35v WD Blue 500GB (OS) 
Hard DriveOSMonitorPower
WD Green 4TB, 2TB Ubuntu x86_64 14.04.1 LTS ssh or vnc SuperFlower Golden Green HX 350W 
Case
Corsair 350D, GT AP-13 
  hide details  
Reply
post #8 of 8
I had the same issue as the OP. I know this thread is long dead but it is at the top of Google's results. The problem is simply resolved by manually typing the quote marks instead of copying and pasting.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Windows
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › mklink syntax problems Win 7 64bit