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 use SecureCRT on 2 computers. I have the configuration stored in a Dropbox folder. However this causes some problems because my username isn't the same on both machines. Is there a way, without renaming the account, to have the user directory available under the alternate name, as you would be able to do on a unix system using a symlink?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

Yes, use a symlink.

mklink /d C:\Users\Alternate Real

(note: the syntax is mklink <link> <target> which is different from ln -s <target> <link>)

Symlinks are supported as of Windows Vista, and behave pretty much the same way as in Unix, with the exception that there can be "file" symlinks (mklink) and "directory" symlinks (mklink/d).


Older Windows NT versions, which don't have symlinks, still support directory junctions (mklink /j or junction) – the major differences are that junctions only work with directories, and always point to an absolute path.

Both kinds of links require a NTFS filesystem.

share|improve this answer
    
Thanks, that indeed did the trick! –  Tom Ribbens Oct 18 '12 at 20:37
add comment

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.