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

    How to acces file with random string?

    Hi, thanks for the help. Should I be setting oSub as well? I get an object doesn't support this property at the first for loop
  2. vin200

    How to acces file with random string?

    Wait, I don't understand. Even if it is a subfolder how does that make a difference? I still need to go through the subfolder to get to the text file, no? Sorry if I sound like a n00b...
  3. vin200

    How to acces file with random string?

    Yes it is a Subfolder. sorry.
  4. vin200

    How to acces file with random string?

    Sorry, to make another post. But I'm guessing the reason you thought it was a HW question was because i said "I can't use wildcards". The reason i wrote that was because, to my knowledge there are no wildcards in vbs, correct?
  5. vin200

    How to acces file with random string?

    So that xxxxxx file is a different string each time. I need a way of accessing the myfile.txt. thanks
  6. vin200

    How to acces file with random string?

    dim StrFileName, StrContents, strLineCount Set objNetwork = wscript.CreateObject("wscript.network") StrFileName = "C:......\Users\xxxxxx\myfile.txt" Set objFS = CreateObject("Scripting.FileSystemObject") Set objTS = objFS.OpenTextFile(StrFileName, 1) strContents =...
  7. vin200

    How to acces file with random string?

    I need to access a text file which is contained in a folder whose name is a random set of 6 digits. I need to run a script on multiple computers and therefore the 6 digits will be different on each, but the text file will be the same. I can't use wildcards, so how do i do this? Thanks.

Part and Inventory Search

Back
Top