Last post Jul 03, 2010 03:05 AM by TATWORTH
May 20, 2010 04:11 AM|terrytch00|LINK
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"
run cmd on aspx
Jul 03, 2010 03:05 AM|TATWORTH|LINK
The way to approach this is move the call to fsutil to a windows service that reads and executes requests made to a queue table by an ASP.NET page. For an example please see the CommonData solution at