This entry was posted on Friday, June 13th, 2008 at 3:26 am and is filed under development. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Jun 13, 2008
mklink: no longer just a vista tease
Author: gaweee | Filed under: developmenti was working with .net dev studio and was trying to figure out how to make several projects share a common folder of master files. So we came across mklink. For all you folks out there rushing to open your command prompt in anything lesser than Vista, give it up, it aint gonna work. Vista onwards only baby~
The method signature is as follows:
MKLINK [[/D] | [/H] | [/J]] Link Target
/D Creates a directory symbolic link. Default is a file
symbolic link.
/H Creates a hard link instead of a symbolic link.
/J Creates a Directory Junction.
Link specifies the new symbolic link name.
Target specifies the path (relative or absolute) that the new link refers to.I posted on how the tool didnt allow directories to be hard linked previously.
Correction: directories can be symbolic linked that will be resolved by the filesystem. The confusion there was when a symbolic link is created, it looks no different from a shortcut on explorer. Giving doubt to whether it would hold its ground when accessed programmatically instead of via the explorer.
Thanks Alex for pointing this out!
2 Responses to “mklink: no longer just a vista tease”
Leave a Reply
Most Popular
- HOWTO: PHP and jQuery upload progress bar (56)
- JQuery Progress Bar 1.1 (53)
- Howto: Repackageable custom extension development in Magento - Part 2 - Admin Controller (25)
- JQuery Progress Bar 2.0 (21)
- Howto: Repackageable custom extension development in Magento - Part 8 - CRUD - Update (18)
- HOWTO: struts 2 i18n (16)
- Howto: Repackageable custom extension development in Magento (12)
- JQuery Progress Bar 1.2 (11)
- Howto: Repackageable custom extension development in Magento - Part 9 - Frontend - List (10)
- Howto: Repackageable custom extension development in Magento - Part 3 - Database (9)
Recent Comments
- Karen: Great work around-thank you!!
- Sheldon: awesome possum!
- cmstop里所使用的有用的jquery插件 » Terry's Blog: [...] http://t.wits.sg/jquery-progress-bar/ 这篇日志的 t.cn [...]
- Lakshyami: Hi, Thank you very much for
- New site feature: User Poll « TechnoStripe: [...] progress bar used to
- seo agentur: @Krish Why do you need to
- 2kai: Hi Aromal, you need to flush
- Rob Rasner Magic Castle: I love what you guys
- รับทำเว็บไซต์: Thx for this. Nice and
- Lexus: ESxtYC I'm not easily impressed.
Latest Entries
- SD in the Community: Product Management Panel Recap
- Mac OS X and Ricoh Aficio C2051 - Making Printing "Just Work"
- How to impress your recruiter
- Thoughts on Attracting the attention of the Best Hires
- The Greg Syndrome
- The Parental Manager
- Attack of the Facebook Harvesters
- jQuery Progress Bar Configuration
- Extracting email addresses from inbox
- 10 Good (Free and Legal) Source for Photos and Images
June 24th, 2008 at 12:34 pm
Thanks Alex! we tried out that function and got a symbolic link no different from creating a shortcut. apparently it only looks that way! Wikipedia say its interpreted at a FS level. =)
June 24th, 2008 at 8:55 am
take a peak at http://en.wikipedia.org/wiki/NTFS_symbolic_link
the /D and /J switches both work with folders not files.