Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. RubADub

    VBScript to clear My Network Places?

    Thank you once again, GrimR. You're a lifesaver :) The script works fine the way it is, but I would like to run the script for selected users only, by doing a LDAP search and select users by Office Location. I've modified the script with an if-statement, so that the procedure DeleteResource()...
  2. RubADub

    VBScript to clear My Network Places?

    Sorry for the double post, but regarding the code snippet in your previous post I reckon it shouldn't be a problem removing the variables that aren't used by the DeleteResource procedure, right? That is, since strName and blnVerboseMode aren't used by the procedure, there's no need to declare...
  3. RubADub

    VBScript to clear My Network Places?

    Indeed I gave up too quick. I was having a moment of panic back there. Sorry for the drama. But I'm still considering my options regarding jobs, as my current job seems to be quite stressful. Well, when one is set to perform tasks one is not qualified for, stress tends to arise. Anywho, I...
  4. RubADub

    VBScript to clear My Network Places?

    I'm in over my head here. I apologize for my shortcomings. This is all new to me, and I'm not capable of writing this script myself, and I do not have the knowledge required to add tidbits and whatnot to scripts I do not understand. I thought this script wouldn't be too difficult to make, but...
  5. RubADub

    VBScript to clear My Network Places?

    I wish I could, but it seems as though the entries under NetHood aren't shortcuts (*.lnk), but rather folders. Issuing a command "del *.lnk" in NetHood accomplishes nothing, as there are no .lnk files. Issuing a command "del *.*" doesn't remove the folders, either. *scratch head*
  6. RubADub

    VBScript to clear My Network Places?

    It seems as though the script isn't working properly, though. I get a runtime error, no matter what strDescription I use. Besides, I really need to use a wildcard of some sort, as I have no idea of knowing how many locations are stored under Nethood, and what their names are. Hmmmmmmm, this is...
  7. RubADub

    VBScript to clear My Network Places?

    Thanks, GrimR! I'll have a gander at it, and run the script in a test environment. Newbie question: I see that you declare an array sNethoodArray. Seing as I'm not used to working with arrays, might I ask you what = "Name here" and = "Data" actually does here? And is this array limited to size...
  8. RubADub

    VBScript to clear My Network Places?

    Greetings all! I'm quite new to programming and scripting, so please bear with me if I ask seemingly mundane questions, m'kay? :-) My employer has asked me to come up with a logon/startup script to use when setting up a new server at a branch office. Basically, the script should clean up any...

Part and Inventory Search

Back
Top