Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows API
  4. how to create symbolic link which will be accessible from other machine in windows

how to create symbolic link which will be accessible from other machine in windows

Scheduled Pinned Locked Moved Windows API
sysadmintutorial
2 Posts 2 Posters 8 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sachinPasalkar
    wrote on last edited by
    #1

    I want to provide link to access file in network, executed below line in command prompt mklink \\MyMachineName\CommonStorage\test.txt c:\test.txt I tried following command fsutil behavior set SymlinkEvaluation L2L:1 R2R:1 L2R:1 R2L:1 on both machine bt still not working when I tried to open file from other machine it says can not open file \\\\MyMachineName\CommonStorage\test.txt" I am doing it on Win7 64 bit m/c..

    L 1 Reply Last reply
    0
    • S sachinPasalkar

      I want to provide link to access file in network, executed below line in command prompt mklink \\MyMachineName\CommonStorage\test.txt c:\test.txt I tried following command fsutil behavior set SymlinkEvaluation L2L:1 R2R:1 L2R:1 R2L:1 on both machine bt still not working when I tried to open file from other machine it says can not open file \\\\MyMachineName\CommonStorage\test.txt" I am doing it on Win7 64 bit m/c..

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      As an Admin? From Wikipedia[^];

      The default security settings in Windows Vista/Windows 7 disallow non-elevated administrators and all non-administrators from creating symbolic links. This behavior can be changed in the Local Security Policy management console (under: Security Settings\Local Policies\User Rights Assignment\Create symbolic links). It can be worked around by starting cmd.exe with Run as administrator option or the runas command.

      Bastard Programmer from Hell :suss: if you can't read my code, try converting it here[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups