|
WSHMapNetworkDrive - already in use Hi @all, I tried this short script to Map a Network Drive from a ASP Site. (The OS is WindowsXP with WSH 5.6) <% dim wshnetwork set WshNetwork = Server.CreateObject("Wscript.Network") 'WshNetwork.RemoveNetworkDrive "Z:" WshNetwork.MapNetworkDrive "Z:", "\\server\share", False, "Username... 3 Mar 2005 07:20
Using InputBox : how test for Cancel ? Hi, when using InputBox how can differentiate hitting Cancel button from nothing entered ( box left empty) ? Or is there an alternative allowing: - cancel - leave field empty and validate with enter - enter data and validate I have a script that suggests a value, and want teh user to either accept it ( ... 2 Mar 2005 16:52
CIM_Datafile I am making my connection to strComputer which is being populated by a query to AD with the results populating an array. Each WINMGMTS connection is either connecting or erroring out with 462 (not found), 70 (access denied) or no error. This is working good so far but I have come to one machine that is hanging afte... 1 Mar 2005 18:04
LDAP query problems Hi there, I am having a bit of trouble with Windows XP machines running my login script. The script errors on on the line: Set CurrentUser = GetObject("LDAP://" & ADSysInfo.UserName) saying the domain does not exist. Although the same script works perfectly well on my win 2k machines. There is however a ... 28 Feb 2005 15:11
Remote pinging dilemma I have a lab of 50 xp pro machines, and sometimes I need a quick way to ping all 50 to find out which ones (if any) aren't reachable. So the script would need to ping each client one time, and then return the computername or IP address of any that didn't reply. Anyone know if this is possible? Thanks! ... 3 Mar 2005 12:40
reverse collection order Hi all, i've got a collection of folders and i wanto to iterate it in the reverse order (from bigger to smaller) how can i do this ? Thanks a lot -- Ciao Fabio ... 28 Feb 2005 14:40
AD Object properties Is there something out there that lists Active Directory Object properties? I would like that as a reference but for the near term I have a script that walk checks the membership of a security group. I would like to determine if the member is a User or another group. I am having difficulty determining that. program... 25 Feb 2005 21:32
Scripting Printers I have 6 NT servers with about 300 printers each on them. I need to migrate these printers to a 2003 box. I have a couple of scripts from Script Center that add a printer, add a port, list port properties and list printer capabilities. The only problem is that NT only supports the List printer capabilitites.... 2 Mar 2005 03:21
Create a selection list with VBScript and HTA I am trying to do the following. 1) Query AD for the list of printers in the users OU. 2) Present the user with the list of printers in a dialog box of some type that they can select/deselect. 3) Install or uninstall the printers as necessary. 1 and 3 I've got down. I can pull the printer list for the users ... 25 Feb 2005 11:01
HTA Application problem - mshta.exe will not terminate I am putting together an HTA application. In it, I have a Do/Loop that will run until either a button is selected or the IE window is closed. The button works fine. But, if I close the IE window, mshta.exe remains running. I tried using onbeforeunload and setting the same flags and doing the same process that I ... 22 Mar 2005 13:35 |