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 Mike Lewis 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: *

  • Users: jordan15
  • Order by date
  1. jordan15

    Change file name (VBScript)

    Yes thanks, the only thing is I do not even know where the info is coming from I have jsut been given the text files and been told to sort it out. I have asked about the source of the info but the person who passed it on to me does not know. Thanks amyway
  2. jordan15

    Change file name (VBScript)

    So basically I have a folder that contains files say 100 and they all have different question asked which is in the first line so e.g One file will have questions like what is your name|age|eye color 2nd file what is your cat name|were do you work 3rd file were do you live|what is your address...
  3. jordan15

    Change file name (VBScript)

    Sorry ignore the question above as this can not work as the files are not the same, what I would need to do is because each file has question headings as the first line i need to do a match based on the file first line and if it is a match open if it is not then move to the next file. Every time...
  4. jordan15

    Change file name (VBScript)

    Hi Guys, Need your help once again, I have a script that runs fine now but the files it uses I need to change the name as at the moment the user will only put in the batch number but the file name also has the question number as part of the file name. I would like to search folders based on the...
  5. jordan15

    fso problem

    Yes thanks I realised that after I had a look again I managed to get Tsuji method to work yesterday before I went home. But thanks guys for your help.
  6. jordan15

    fso problem

    Thanks I tried using Tsuji way because I also need to have objTextFile.ReadAll if it is the first file and to skip a line if any other file after that as i need to get the header of the first file. I get an error when i added the above code. this is where I added the new line. const...
  7. jordan15

    fso problem

    I have this script that works fine but the only problem is every time I run the script it appends the same data to the end I would like the results to overwrite the reults currently in the second folder. Const ForAppending = 8, ForReading = 1, ForWriting = 2 set files =...
  8. jordan15

    fso loop problem

    Thanks Tsuji You desreve a star for that. That works fine now, The only problem is every time I run the script it appends the same data to the end I would like the results to overwrite the reults currently in the second folder. I will post this problem in the vbs forum as you suggested.
  9. jordan15

    fso loop problem

    Hi, I am not sure where I am going wrong, I have written a script that opens, reads a text file then adds the contents to a text file in another folder. The problem I am having is the first folder has several text files and I want to loop through each text file and copy the contents of each one...

Part and Inventory Search

Back
Top