Symbolic links (fsutil + vb.net + IIS6 + works on network)

terrytch00

New member
Joined
May 20, 2010
Messages
1
Programming Experience
Beginner
I want to use the function of fsutil, which can create the symbolic link for me. I have try to code in vb.net 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 vb.net, pass through IIS 6 and it can be works on network (not in local network).

My vb.net 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"
Process.Start(info)


End Sub
 
Back
Top