Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Problem with extended wildcards

May
3,515
5
WinXP home SP3 / TCC 13.01.32 (no TCMD)
Command:

*dir/b/og/nej/p/s f:\**\V0000
(many hidden directories named V0000 without subdirectories)

Is the bug or user error that TCC dies?

GPF:
TCC 13.01.32
Module=F:\JPSOFT\IZ\TakeCmd.dll
Address=100C447A
Exception=C0000005
EAX=00000000 EBX=00000072 ECX=00000002 EDX=00000002
ESI=0130DB2A EDI=07038000 EBP=012FD4D0 ESP=012FD4C8
CS=0000001B DS=00000023 ES=00000023 SS=00000023
Flags=00010206

Stack:
1 : TakeCmd.dll 00000001:000c347a

--
Steve
 
> *dir/b/og/nej/p/s f:\**\V0000
> (many hidden directories named V0000 without subdirectories)
>
> Is the bug or user error that TCC dies?

User error.

The docs *do* tell you not to use /S with directory wildcards!

What you're doing in that command is asking DIR for all of the directories
named V0000 anywhere on F:. And then repeat for every subdirectory on F: --
which means if you have, say 100 subdirectories named V0000 and a total of
20,000 subdirectories on F:, you'd get back a directory listing with
2,000,000 entries (your 100 matching files * the 20,000 times you asked for
it to be repeated. )

Except you can't because you don't have enough memory, and Windows blew up.
 

Similar threads

Back
Top