how to create links inside a program

shyma_nk
shyma_nk used Ask the Experts™
on
I have to create a link in one directory which points to another directory .My question is how to create the link within a program?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
To create symbolic links on Unix use,

symlink("whom_to_link", "link_name");

refer man pages for error checks.

-Rohan

Author

Commented:
thank you for your help

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial