Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Create virtual directory dsCreatObj dsSetObj
sPath = "IIS://localhost/W3SVC/1/ROOT" ; Create a vdir sVdirPath = dsCreateObj(sPath, "IIsWebVirtualDir", "TestVdir") dsSetObj(sVdirPath)I am not sure how to set up password protection but look at the properties of your new virtual dir. There may be some hint there.
NB: Make sure you set the properties for the virtualdir object.
Article ID: W15034
File Created: 2002:09:05:13:49:16
Last Updated: 2002:09:05:13:49:16