PDA

View Full Version : copy a file to every folder in directory cmd regEx



ggalan
09-25-2010, 05:39 PM
i found this thread of what looked like a promising solution
http://www.webhostingtalk.com/showthread.php?t=490919

however, when i try it


for /R D:\myFolder\ %G IN (list.php) DO copy D:\someOtherFolder\list.php %G


i get a "system cannot find the path specified"

X2 checked that the path is in fact correct, anyone with command line argument experience out there?