Discussion forum for all Windows batch related topics.
Moderator: DosItHelp
-
sanket_vc
- Posts: 2
- Joined: 31 Oct 2009 10:15
#1
Post
by sanket_vc » 31 Oct 2009 10:19
how to copy a file into all the subfolders of a parent folder using batch file?
-
sanket_vc
- Posts: 2
- Joined: 31 Oct 2009 10:15
#2
Post
by sanket_vc » 31 Oct 2009 12:17
hello everybody,
i found out how to do it
for /r f:\parent_folder %%a in (.) do copy f:\parent_folder\log.txt "%%a"