General
cancel
Showing results for 
Search instead for 
Did you mean: 

How to make soft or hard link in Windows?

Mak_2
Occasional Contributor

How to make soft or hard link in Windows?

Hi,

I need to install BigBrother soft on W2K with apache. This my first experience such kind with Windows and I can not build symbolic link as in UNIX:
ln -s /full_path_to_bb/www /apache_doc_root_dir/bb
It seems the shortcut of windows can not be used for that purpose. Maybe I have to use hard link, but I dont know how to do that?

Any hint?
Thanks in advance.

Mak
HI
4 REPLIES
John Bolene
Honored Contributor

Re: How to make soft or hard link in Windows?

There are no links available in Windows as is used in UNIX.

Files are normally copied to where they are needed, and this results in extra space used if more than one copy exists.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Mak_2
Occasional Contributor

Re: How to make soft or hard link in Windows?

Hi,

If I can't make links in Windows directly then maybe I can build link by another means -
by cygwin for example or by other application ?

What about that ?

Regards,
Mak
HI
John Bolene
Honored Contributor

Re: How to make soft or hard link in Windows?

You can try that but it is not going to work.

The Windows directory structure does not support linking. You can setup a Windows shortcut which is a sorta link but not a true UNIX link. It sets up a file with a pointer to another file.

I know ISS supports pseudo links in which you can rename directories so that they are available to the webpage structure. I think Apache on W2K can use that also, check the Apache documentation.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Mak_2
Occasional Contributor

Re: How to make soft or hard link in Windows?

Thanks for info.
Mak
HI