Re: Beginner needs help with text files

Tech-Archive recommends: Fix windows errors by optimizing your registry



Thanks for your quick reply Matt.

Before I go any further I just want to make sure I understand.
In Visual Basic I can NOT do something as simple as what I would do in a dos
batch file?

Example:
find /i ".bsp" "*.zip" > "garbagefile.txt"
findstr /r ".bspPK*" "garbagefile.txt" > "bsplist.txt"
del "garbagefile.txt"

As I am a very green beginner it will take me some time to read and
understand how to implement a do loop so please be patient if I don't post
back to quickly.
I also am not sure yet how to perform a search within the zip file or any
file for that matter.
Everything I am reading pertains to finding directories or files not finding
text inside a file.

You asked; If I needed to extract the data from within the "zip"? You meant
to actually perform the extract function?
No, I just need to search within the zip to find the strings that
contain " .bspPK " then output those strings to a text file.

And also in understanding what you stated; I need to actually open each zip
file to do the search for the string?
Will that become a problem with many zip files?
I have at minimum 50 to search thru. and possibly a few hundred.
To clarify:
My files are not "actually" zip files.
They are PK3 files, which are a compressed file.
I don't think that will matter though.


.



Relevant Pages

  • Re: Cheap, cost effective upgrades
    ... You don't hear 3c no matter what you think and no matter ... so tune an open cord say a C so each note is ... cord - it s now sour. ... plucking both at the same time, then tune one of the strings until the ...
    (alt.guitar.beginner)
  • Re: New
    ... >> in part on how it's taught. ... using pointers and null-terminated strings instead of the ... actually do matter) is one of the ... and a competent C++ programmer ...
    (comp.programming)
  • Re: String Concatenation
    ... Rebecca Smith wrote: ... > In past versions of Access it was a simple matter to create a persons ... > full name from the three strings 'FirstName' 'MiddleInit' and ... affecting how the + and & operators work with respect to Null propogation. ...
    (comp.databases.ms-access)
  • Re: Cheap, cost effective upgrades
    ... You don't hear 3c no matter what you think and no matter ... cord - it s now sour. ... Is your tuner capable? ... plucking both at the same time, then tune one of the strings until the ...
    (alt.guitar.beginner)