Dos text search utility for deep subs

  • Thread starter Thread starter Sinus Logarithme
  • Start date Start date
S

Sinus Logarithme

I use win2000 and need to search text in all files
(including binaries), in all subs of a given sub. This has
to be done after booting Dos, because many files are locked
in windows. The problem with the dos utilities that I know
of is that they ignore subs deeper than level 7. Is there a
solution to that ?
Thanks
 
I downloaded tsp.exe and booted dos with my win98 strartup
disk. When I tried to enter a level 7 sub (with cd ...), I
got "invalid directory". It's useless to pursue. I suppose
the only way would be to install a second instance of
windows (or another os) to another partition and do the
search from there. I'm going to think about it.

Thank you for your time.
 
I downloaded tsp.exe and booted dos with my win98 strartup
disk. When I tried to enter a level 7 sub (with cd ...), I
got "invalid directory". It's useless to pursue. I suppose
the only way would be to install a second instance of
windows (or another os) to another partition and do the
search from there. I'm going to think about it.

Are you sure it is the directory dept that is causing your
problem ?
Easy enough to test: burry a file in \1\2\3\4\5\6\7\8\9 and see
if the program can find it.

I can imagine quite some other possible causes :-)
(Total path length exceeding 64 or 127 bytes, a space in some
file or directory name, etc.)
 
On Thu, 16 Jun 2005 01:15:45 +0200, B. R. 'BeAr' Ederson wrote:
^^^^^^^^
Grmpfl. I'm posting from my own future. That happens when one clicks to
fast through windows announcing daylight saving time changes. - After
booting a nearly abandoned OS... :-(

Hopefully corrected now.

BeAr
 
I downloaded tsp.exe and booted dos with my win98 strartup
disk. When I tried to enter a level 7 sub (with cd ...), I
got "invalid directory". It's useless to pursue. I suppose
the only way would be to install a second instance of
windows (or another os) to another partition and do the
search from there. I'm going to think about it.

You can use DOS file browsers to view files and subdirectories
that exceed the DOS path length restrictions. But you can't copy
or move files that exceed the DOS limitations.

I offer a program I call D-BROWSE which has a number of
features and capabilities, including LFN (Long File Name)
presentations. See my web site for more info.

Art
 
You can use DOS file browsers to view files and subdirectories
that exceed the DOS path length restrictions. But you can't copy
or move files that exceed the DOS limitations.

I offer a program I call D-BROWSE which has a number of
features and capabilities, including LFN (Long File Name)
presentations. See my web site for more info.

Whoops! Just installed a new newsreader and screwed up. Let's
see if my sig line has my web site url this time.

Art
 
I downloaded tsp.exe and booted dos with my win98 strartup
disk. When I tried to enter a level 7 sub (with cd ...), I
got "invalid directory".

It's not a matter of directory level but of path length. Basic DOS
interrupts support up to 64 characters. DOS 7.2 (Win98) introduced
some interrupts which allow up to 128 characters, but few programs
support these. And you still would be limited for some *very* deep
nested directories.
It's useless to pursue. I suppose the only way would be to install a
second instance of windows (or another os) to another partition and do
the search from there.

Yes. A DOS program would need to do file access with direct disk access
functions instead of DOS interrupts. I don't know one suitable for your
task. Maybe one of the alternative DOS systems would be fine. I don't
know, either.

But, how about a Linux live CD/DVD? It should do very fine.

BeAr
 
As suggested, I burried a file 30 levels deep in \1\2\...,
and my search program read it. So it's in fact a matter of
path length.

I used d-browse. It's seems to be a very useful program and
I'll certainly keep the diskette, but it stopped just short
of my needs. It can search all files in a directory. To test
that, I went 11 levels deep in "real life" subs (not in
\1\2...). I was also able to copy files from that same dir.
But it can't string search all subs of a given sub.

I didn't know about Live CDs. I'll do some research and see
if my computer can boot from a cd.

Thank you all.
 
Back
Top