MKlink question

Page 2 of 2 FirstFirst 12

  1. Posts : 136
    Windows 10 Pro
    Thread Starter
       #11

    mklink /j "Link" "Target"
    "Target" to be the original location, and "Link" to basically be the shortcut pointing (mklink) to the target
    so this should work:
    mklink "C:\Program Files\WindowsApps\PointPlanck.FileBot_5.1.3.0_x64__49ex9gnthnt12" Original LOcation (Link) "A:\applications\Video\Renamer\Filebot" Target [Folder made by user]

    Do I have this right ? Do I have themin the right Order?

    Thank You
      My Computer


  2. Posts : 1,265
    Windows 10
       #12

    as long as you know link > target then you know if the command is correct.
      My Computer


  3. Posts : 17,015
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #13

    RBCC said:
    Do I have this right ? Do I have themin the right Order?
    For this, yes.
    RBCC said:
    mklink /j "Link" "Target"

    But this one is not in the same pattern at all. If you'd like to correct it and repost it in the right syntax then somebody might be able to comment.
    It looks like you want to create a link in a WindowsApps folder that redirects to a folder on the A:\ drive i.e. somebody or some application calls that WindowsApps folder and instead gets taken to that A:\ drive folder.
    You would need to make sure you have permission to write to that WindowsApps folder for the link to be created.
    RBCC said:
    so this should work:
    mklink "C:\Program Files\WindowsApps\PointPlanck.FileBot_5.1.3.0_x64__49ex9gnthnt12" Original LOcation (Link) "A:\applications\Video\Renamer\Filebot" Target [Folder made by user]


    There are links to further guidance in my ditty on junctions etc #3 - TenForums
    I don't think I have seen anybody using MKLink to create a WindowsApp link before. I have not seen any reason to think they would behave in any non-standard way. But, as I say, you seem to be the first.


    Denis
      My Computer


  4. Posts : 1,265
    Windows 10
       #14

    They are making a symlink from

    link
    C:\Program Files\WindowsApps\PointPlanck.FileBot_5.1.3.0_x64__49ex9gnthnt12

    target
    A:\applications\Video\Renamer\Filebot

    as long as they have read and execute perms on the folder it will work
      My Computer


  5. Posts : 136
    Windows 10 Pro
    Thread Starter
       #15

    Microsoft Store


    I originally downloaded Filebot from MS Store : PointPlanck.FileBot_5.1.3.0_x64__49ex9gnthnt12 and it put it into WindowsApps. Should I make the PointPlanck.FileBot_5.1.3.0_x64__49ex9gnthnt12 directory before I install Filebot also? John.

    - - - Updated - - -
    @Try3

    mklink /j "A:\applications\Video\Renamer\Filebot" "C:\Program Files\WindowsApps\PointPlanck.FileBot_5.1.3.0_x64__49ex9gnthnt12"

    Shoukd this link to the ..\..\..\filebot folder and send the programs' file so that the computer will think its back in WindowApps folder?
    Also can I create a batch file that create the link and the linked folder and all dirctories needed?
    thank you for your help
      My Computer


  6. Posts : 832
    Windows 7
       #16

    This is probably the better solution:
    https://stackoverflow.com/questions/67860790/change-default-install-location-of-windows-10-store-uwp-app

    1. Uninstall Filebot from Settings / Apps, but keep your user data.
    2. Change the new app location to A:
    3. Re-download Filebot.
    4. Choose if you want to keep future downloaded apps on A:, or resume on C:
      My Computer


  7. Posts : 17,015
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #17

    RBCC said:
    mklink /j "A:\applications\Video\Renamer\Filebot" "C:\Program Files\WindowsApps\PointPlanck.FileBot_5.1.3.0_x64__49ex9gnthnt12"
    This would mean that somebody or some application that called
    "A:\applications\Video\Renamer\Filebot"
    would get redirected to
    "C:\Program Files\WindowsApps\PointPlanck.FileBot_5.1.3.0_x64__49ex9gnthnt12"
    but I think you intended it to be the other way around.


    I still do not understand why you are trying to use MKLink at all.
    Surely installing that app will create whatever folders that app wants.


    RBCC said:
    can I create a batch file that create the link and the linked folder and all dirctories needed
    Yes, a batch file can do all those steps.
    But you only need to do those steps once so there would not seem to be any benefit, assuming I have understood your needs correctly.
    You would need to include steps that checked you/it had not already created the link because it would cause an error if it already existed.


    All the best,
    Denis
      My Computer


  8. Posts : 136
    Windows 10 Pro
    Thread Starter
       #18

    @Try3
    am trying to put all my apps on A:[Application_Progams ] ! As a way to keep everything together.
      My Computer


  9. Posts : 17,015
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #19

    RBCC said:
    am trying to put all my apps on A:[Application_Progams ] ! As a way to keep everything together.
    I don't know if that is possible but if that's what you are trying to do then surely you want the mklink cmd the other way round?

    Surely you want a call to
    "C:\Program Files\WindowsApps\PointPlanck.FileBot_5.1.3.0_x64__49ex9gnthnt12"
    to be redirected to
    "A:\applications\Video\Renamer\Filebot"
    i.e.
    mklink /j "C:\Program Files\WindowsApps\PointPlanck.FileBot_5.1.3.0_x64__49ex9gnthnt12" "A:\applications\Video\Renamer\Filebot"
    and, I think, you'd have to prepare for that by making sure that
    "C:\Program Files\WindowsApps\PointPlanck.FileBot_5.1.3.0_x64__49ex9gnthnt12"
    did not exist beforehand.


    Denis
      My Computer


  10. Posts : 1,265
    Windows 10
       #20

    yeah you would want to do they other way around then lol, you copy the app files to A:\ and then put a symlink at C:\ because the files are not on A currently they ar on C.
      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 21:40.
Find Us




Windows 10 Forums