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. C / C++ / MFC
  4. reparse points and junctions over network

reparse points and junctions over network

Scheduled Pinned Locked Moved C / C++ / MFC
questionsysadminhelptutorial
2 Posts 2 Posters 0 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.
  • J Offline
    J Offline
    jason99
    wrote on last edited by
    #1

    Hi, i have been playing around with NTFS reparse points and junctions. I finally found the tutorial by Mike Nordell and managed to make my application work. I can now build a junction to a path like "C:\mydirectory". My question is concerned with building junctions over the network. If i specify "\\ServerXYZ\mydirectory" as the target path, the DeviceIOControl() routine returns unsuccessfully and GetLastError() returns 4392, which means that the parameter structure must have an error. Something is wrong with the way i'm specifying the path! Is it possible to use the DeviceIOControl() routine setting a junction point that is located on another computer? Thanks in advance...

    J 1 Reply Last reply
    0
    • J jason99

      Hi, i have been playing around with NTFS reparse points and junctions. I finally found the tutorial by Mike Nordell and managed to make my application work. I can now build a junction to a path like "C:\mydirectory". My question is concerned with building junctions over the network. If i specify "\\ServerXYZ\mydirectory" as the target path, the DeviceIOControl() routine returns unsuccessfully and GetLastError() returns 4392, which means that the parameter structure must have an error. Something is wrong with the way i'm specifying the path! Is it possible to use the DeviceIOControl() routine setting a junction point that is located on another computer? Thanks in advance...

      J Offline
      J Offline
      John M Drescher
      wrote on last edited by
      #2

      I believe junctions are only possible on the local computer and on only on ntfs. John

      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