Search found 9 matches
- 28 Mar 2014 09:55
- Forum: DOS Batch Forum
- Topic: find filename in many folders copying to one folder
- Replies: 16
- Views: 9041
Re: find filename in many folders copying to one folder
any way to exclude folders from the search?
- 28 Mar 2014 09:40
- Forum: DOS Batch Forum
- Topic: find filename in many folders copying to one folder
- Replies: 16
- Views: 9041
Re: find filename in many folders copying to one folder
Thanks foxdrive! Works nicely from batch now.
- 27 Mar 2014 15:37
- Forum: DOS Batch Forum
- Topic: find filename in many folders copying to one folder
- Replies: 16
- Views: 9041
Re: find filename in many folders copying to one folder
Not kidding; Why cant I get this to run from a batch file?
It's pretty much useless, If I can't schedule it to run from a batch.
Code: Select all
cmd /v:on /c "for /r %a in (test.txt) do (set /a c+=1 & copy "%a" "d:\!c!%~nxa")"
It's pretty much useless, If I can't schedule it to run from a batch.
- 27 Mar 2014 13:49
- Forum: DOS Batch Forum
- Topic: find filename in many folders copying to one folder
- Replies: 16
- Views: 9041
Re: find filename in many folders copying to one folder
I can get his to run from the commandline; not from batch
What do I need to do to run from batch?
What do I need to do to run from batch?
- 27 Mar 2014 12:10
- Forum: DOS Batch Forum
- Topic: find filename in many folders copying to one folder
- Replies: 16
- Views: 9041
Re: find filename in many folders copying to one folder
actually; foxdrives example works! Sorry! Didn't see where it was outputting the files to
- 27 Mar 2014 12:00
- Forum: DOS Batch Forum
- Topic: find filename in many folders copying to one folder
- Replies: 16
- Views: 9041
Re: find filename in many folders copying to one folder
squashman, I see it traversing the folders (searching as you say), but it only displays 100+ lines of "The system cannot find the file specified" I know the file is in 10 different folder trees, extending from the root folder where this script is executed from. My other command; my first e...
- 27 Mar 2014 11:09
- Forum: DOS Batch Forum
- Topic: find filename in many folders copying to one folder
- Replies: 16
- Views: 9041
Re: find filename in many folders copying to one folder
both answers don't seem to include the find?
I had dir /s /b and find to find all instances of this file over many folders.
That is still important
I had dir /s /b and find to find all instances of this file over many folders.
That is still important
- 27 Mar 2014 10:33
- Forum: DOS Batch Forum
- Topic: find filename in many folders copying to one folder
- Replies: 16
- Views: 9041
find filename in many folders copying to one folder
Here is what I've got so far. dir/s/b|for /f %i in ('find "test.txt"') do copy "%i" .\ This works, but it overwrites all copied instances leaving the last file copied (only 1 file). I would like some help in adding a count feature to this so I'll be left with all copies of the fi...
- 26 Mar 2010 12:40
- Forum: DOS Batch Forum
- Topic: set var from arp output.....i'm not sure how
- Replies: 1
- Views: 3396
set var from arp output.....i'm not sure how
Ive been working on this batch file that searches a mac address and informs of the ip address belonging to the mac. I can use: arp -a | find "00-1C-C0-4A-ED-AD" from the command prompt to get an output of: 192.168.0.223 00-1c-c0-4a-ed-ad dynamic I want my batch file to set the ip address t...