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. johnmoore83

    Deleting lines from logon scripts which point to non-existing drives.

    I have made a few improvements and got it to work, but it just deletes the following in each of the .vbs logon files. 'objNetwork.MapNetworkDrive "N:", "blank" I need it to delete this whole line that is where I am stuck now. Const ForReading = 1 ' Open file read only Const ForWriting = 2 '...
  2. johnmoore83

    Deleting lines from logon scripts which point to non-existing drives.

    Hi I have loads of logon scripts which point to drives which aren't available any more. So I need a VBScript which goes through each .vbs logon script and deletes a particular line. I have created a text file c:\names.txt which points to where the .VBS logon files are located. so in the txt...

Part and Inventory Search

Back
Top