Re: How can I search for files?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ed Landau (aunst8_2000_at_yahoo.com)
Date: 09/04/04


Date: Sat, 04 Sep 2004 22:22:53 GMT

Hi Patty: Somehow when I try to execute the Shell command, the arguments
don't seem to matter... I just get a command window appear but nothing gets
executed in it.

Any clues?

Thanks
-Ed

"Patty O'Dors" <PattyODors@discussions.microsoft.com> wrote in message
news:B6E23478-441A-41D4-8F4E-33A347630CC7@microsoft.com...
> The quick way you can do it without writing an algorithm is to shell a
> process that writes the data to a text file, but this is the only way you
can
> get the information.
> e.g.
> shell environ("comspec") & " dir ""c:\*.txt"" /b /s >thetextfiles.dat"
>
>
>
> > Using VB6, I'd like to do something like VBA's Application.fileSearch.
> > I'd like to say: Return a list of all files matching "*.xxx" and
recursively
> > go thru all sub-directories. The FileListBox does not recursively go
down
> > directories.
> > Any help would be appreciated.
> >
> > The only way I can think is to have a hidden dirListBox and step thru it
but
> > popping back up may be tricky.
> > Thanks
> > -Ed
> >
> >
> >



Relevant Pages

  • lets behave in charge of the ratty games, but dont disturb the middle-class mails
    ... They are swiming but the bathroom now, won't inhibit sauces later. ... Almost no enthusiastic sympathetic level slips honours regarding ... Gavin will execute the expenditure, and if Terrance little says it too, the ... unless Ed grows segments no matter how Kaye's rose. ...
    (comp.robotics.misc)
  • Re: Attempted summary of "RT patch acceptance" thread
    ... This even ignoring the fact all those context switch will not be cheap, ... on a embedded it can matter, so the more reliable solution is obviously ... linuxdevices to execute probably a 10% of that is wasted in the irq ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Virus W32/Spybot.worm.gen.e in attachment, dont save or execute ! [Was: Monica Lewinsky blowjob
    ... >> execute it! ... It doesn't matter if the Worm smells different...it is still a Worm. ... It doesn't matter if the Virus is destructive...it is still a Virus. ... "gain exclusive access to our porn...". ...
    (alt.computer.security)
  • Re: SP2 Security Holes
    ... > internet or e-mail attachment. ... The risk here is that it could be any ... > drag the file to the command window. ... > execute any file based on content rather than extension and ignore ...
    (microsoft.public.windowsxp.basics)
  • RE: Command Window
    ... the "Command Window" is used to execute pre-defined ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.debugging)