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 IamaSherpa 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. xcaliber13

    VBS script to open any file in a folder.

    guitarzan, Thank you for the quick reply. But I am not understanding how: Set objFolder = objFSO.GetFolder("C:\temp") For Each objFile in objFolder.Files If LCase(Right(objFile.Path, 4)) = ".txt" Then 'do something End If Next Replaces: Set objFile =...
  2. xcaliber13

    VBS script to open any file in a folder.

    I need a little help with this vbs script. The script works great but I want to be able to open any file that is in the folder without having to give the exact name of the file. Here is the script: Const ForReading = 1 Const ForWriting = 2 Set objFSO =...

Part and Inventory Search

Back
Top