for /d %I in ("%USERPROFILE%\Cookie\*jeanpierredaviau*.txt") do @echo %I

  • Thread starter Thread starter Jean Pierre Daviau
  • Start date Start date
J

Jean Pierre Daviau

Hi patient ones,

Here is another one

for /d %I in ("%USERPROFILE%\Cookie\*jeanpierredaviau*.txt") do @echo %I

There is two cookies in the cookie folder *jeanpierredaviau*.txt.
I tried many possibilities with /f /r

--
Thanks for your attention.

Jean Pierre Daviau
--
Easyphp1.8 with Apache1.3.24
Server version: Apache/2.0.55
Server built: Oct 9 2005 19:16:56
DEVC++, borland 5.5
windows Xp
asus p4 s533/333/133
Intel(R) Celeron (R) CPU 2.00 GHz
Processor Radeon7000 0x5159 agp
http://www.jeanpierredaviau.com
 
-----Original Message-----
From: Jean Pierre Daviau [mailto:[email protected]]
Posted At: Friday, October 20, 2006 6:50 PM
Posted To: microsoft.public.win2000.cmdprompt.admin
Conversation: for /d %I in
("%USERPROFILE%\Cookie\*jeanpierredaviau*.txt") do @echo %I
Subject: for /d %I in
("%USERPROFILE%\Cookie\*jeanpierredaviau*.txt") do @echo %I


Hi patient ones,

Here is another one

for /d %I in ("%USERPROFILE%\Cookie\*jeanpierredaviau*.txt") do
@echo %I

There is two cookies in the cookie folder *jeanpierredaviau*.txt.
I tried many possibilities with /f /r

--
Thanks for your attention.

Jean Pierre Daviau
--
Easyphp1.8 with Apache1.3.24
Server version: Apache/2.0.55
Server built: Oct 9 2005 19:16:56
DEVC++, borland 5.5
windows Xp
asus p4 s533/333/133
Intel(R) Celeron (R) CPU 2.00 GHz
Processor Radeon7000 0x5159 agp
http://www.jeanpierredaviau.com

From FOR /?:
=============
FOR /D %variable IN (set) DO command [command-parameters]

If set contains wildcards, then specifies to match against directory
names instead of file names.
=============

Use for /r instead:

for /R "%USERPROFILE%\Cookies" %%i in (
*jeanpierredaviau*.txt) do @echo %%i
 
Back
Top