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

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
 
A

Alexander Suhovey

-----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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

command line VS cmd file 3
special characters 18
pushd 4
setting screen in ansi on the fly 1
FC 3
mkdir %_folder% 1
registery keys 4
zeroing a registery key programmatically 3

Top