Re: Beginner needs help with text files
- From: "Dave S" <here@xxxxxxxxxxxx>
- Date: Fri, 7 Oct 2005 15:14:01 -0400
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.
.
- Follow-Ups:
- Re: Beginner needs help with text files
- From: Matt Williamson
- Re: Beginner needs help with text files
- From: Larry Serflaten
- Re: Beginner needs help with text files
- References:
- Beginner needs help with text files
- From: Dave S
- Beginner needs help with text files
- Prev by Date: Re: Font Style!
- Next by Date: Re: Access program from regular account
- Previous by thread: Beginner needs help with text files
- Next by thread: Re: Beginner needs help with text files
- Index(es):
Relevant Pages
|