I can't seem to get this to work mklink

Page 1 of 2 12 LastLast

  1. Posts : 140
    Windows 10 Pro
       #1

    I can't seem to get this to work mklink


    I'm using 2 directories
    1. C:\programfiles\malwarewarebytes\anti-malware
    2. E:\utilities\anti\malware\malwarebytes\antimalwRare

    I created a mklink \d "c:\programfiles\malwarebytes\antimalware" " e:\utilities\anti\malware\malwarebyte\antimalware"
    With this line I get " Cannot create file that already exists "
    What file is it talking about?
    How do I edit this to make it work?
    Which directory do I need to create 1 or 2?
    What have I done wrong?

    Thanks to all of you for the excellent help, John
      My Computer


  2. Posts : 4,594
    Windows 10 Pro
       #2

    What are you trying to do
      My Computers


  3. Posts : 928
    Win 10
       #3

    What have I done wrong?
    Not allowing Malwarebytes to install to its standard location.
    Malwarebytes is one you do not want to custom install to prevent future issues.
    Stick with defaults trust me.
      My Computers


  4. Posts : 14,542
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #4

    RBCC said:
    I'm using 2 directories
    1. C:\programfiles\malwarewarebytes\anti-malware
    2. E:\utilities\anti\malware\malwarebytes\antimalwRare
    I created a mklink \d "c:\programfiles\malwarebytes\antimalware" " e:\utilities\anti\malware\malwarebyte\antimalware"
    With this line I get " Cannot create file that already exists "
    What file is it talking about?
    How do I edit this to make it work?
    Which directory do I need to create 1 or 2?
    What have I done wrong?
    Thanks to all of you for the excellent help, John
    Haven't tried mklink but looking at the line #2 shows what might be an errant R in the folder name and the switch in the command mklink might need to be the / forward slash, used with most switches in commands.

    Line #1 has a missing space in the folder name.

    And I agree, diagnostic programs tend to work better when installed on the same partition as the OS.
      My Computers


  5. Posts : 140
    Windows 10 Pro
    Thread Starter
       #5

    I'm trying to use a link to install malwarebytes on the e drive. In effect during the installation of malwarebytes windows "thinks" it's going to the c:\Program files, which is the default.
      My Computer


  6. Posts : 33,296
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #6

    RBCC said:
    I'm trying to use a link to install malwarebytes on the e drive. In effect during the installation of malwarebytes windows "thinks" it's going to the c:\Program files, which is the default.
    You may find that creating a Junction (a hard link) with the /J option works better than the /D option you tried.

    How-To Geek | The Complete Guide to Creating Symbolic Links (aka Symlinks) on Windows

    Windows already uses junctions for this sort of redirection, such as the 'Documents and Settings' junction in the root of the C: drive.

    I can't seem to get this to work mklink-image.png
      My Computers


  7. Posts : 928
    Win 10
       #7

    I'm trying to use a link to install Malwarebytes on the e drive.
    The big question is why. Malwarebytes can encounter issues if not installed on the OS drive.
      My Computers


  8. Posts : 140
    Windows 10 Pro
    Thread Starter
       #8

    Now do I put the mklink Line before the installation file or after???

    as in program files? not programfiles?

    but would dos make that program~1?

    Im trying to organize my Hard drive. put the types of programs together!

    John
      My Computer


  9. Posts : 928
    Win 10
       #9

    RBCC said:
    Now do I put the mklink Line before the installation file or after???

    as in program files? not programfiles?

    but would dos make that program~1?

    Im trying to organize my Hard drive. put the types of programs together!

    John
    You don't with Malwarebytes if you wish it to run correctly...
      My Computers


  10. Posts : 140
    Windows 10 Pro
    Thread Starter
       #10

    Can I copy files to the folder with a little arrow on it? Or must I create a subfolder that has the arrow on it?
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:07.
Find Us




Windows 10 Forums