Darien

Difference between directory and directory junction

2 posts in this topic

#1 ·  Posted

Hello,

 

How to make a program in AutoIt differentiate a directory junction (created by the mklink / j command) from a directory?

Share this post


Link to post
Share on other sites



#2 ·  Posted

@Darien you're referencing a symbolic link, for which there is the _WinAPI_CreateSymbolicLink function if you're looking to create one. Also, if you use the forum search, or a Google search, you will see a number of threads on the subject of finding them, including the use of _WinAPI_GetBinaryType


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Similar Content

    • Morronic
      By Morronic
      I have written a script that mounts shadow copies/previous versions without installing any software or using any external dll's. I know there is shadowExplorer but it requires a service to be installed. Mine uses only file read statements and works on everything except XP (Only because I couldn't test it, I don't have XP Machines). It even works on Server OS!I cleaned it up as best as I could and hopefully it's enough for those of you looking for something quick and easy to mount previous versions of files. Please use the version that is made for your O.S. Example: 64 bit operating systems compile the 64 bit, then run the compiled 64bit exe. Otherwise running it out of scite might not work. For those who don't know, previous versions can be useful if something gets accidentally deleted or a malware-encrypting virus hits your system, you can easily get it back (assuming that restore points have been made). Everything is free to copy/use as I believe in free stuff and I believe the best type of learning is dissecting other code and learning from it/ improving on it.
      Thanks for your time!
      -Morronic
      Vss-Morronic.au3