Symbolic links (fsutil + + IIS6 + works on network)


New member
May 20, 2010
Programming Experience
I want to use the function of fsutil, which can create the symbolic link for me. I have try to code in web application to call the cmd and input the command needed for create symbolic link, example

fsutil hardlink create c:\foo.txt c:\bar.txt

it can be created a symbolic link between the two file under a local system network. But if I use the function for network, it cannot works because the IIS is not giving permission for those function. I wish to use it on network, using the Internet Information Services 6(IIS). Any solution can provide? It is urgent and your help will be appreciated.

What i need is using fsutil to create symbolic links, in, pass through IIS 6 and it can be works on network (not in local network).

My code as below:

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Dim info As New ProcessStartInfo
info.WorkingDirectory = "c:\"
info.FileName = "fsutil.exe"
info.Arguments = "hardlink create foo.txt bar.txt"

End Sub
Top Bottom