Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've recently changed from Ubuntu to Windows 7. One feature I'm struggling to develop without, is symbolic links. In linux, I would simply

ln -s /where/to/ /where/from/

I've done some googling for Windows 7, but don't know what the standard accepted method is.

BTW I tried "MLINK" in the command line, and it said MLINK not found... - EDIT: As Hello71 pointed out, it is MKLINK, I misread it. Thanks!

EDIT: I want to be able to include a php framework in this manner, as each of my projects all use the same library.

share|improve this question

1 Answer 1

up vote 5 down vote accepted

There's a typo in your command; It's mklink, not mlink. I still recommend using Junction, mainly because it also allows for deleting junction points, unlike mklink.

share|improve this answer
    
thanks, and thanks! –  Dean Rather Jul 19 '10 at 14:53
    
... does this not work with PHP include()'s or something...? I'm having a little trouble... –  Dean Rather Jul 19 '10 at 16:47
    
mklink worked whereas junction did not. –  Dean Rather Jul 19 '10 at 17:13
    
mklink didn't work properly either... it allowed me access to the files in the directory, but not files in subdirectories. I tried mklinnk with the /d, /j, and /h params. with junction, I could paste the filepath into notepad and it would open, but with php's file_get_contents() it would not open. –  Dean Rather Jul 19 '10 at 18:08
    
Are you sure that Apache has permissions to access the target directories and files? –  Hello71 Jul 19 '10 at 18:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.