Question Locked

Batch file to copy file into multiple folders

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How do I go about writing a batch file to copy a file into multiple folders in a directory. I need a batch file to run at startup for all users on a server. What I'm trying to achieve is something like:

copy "c:\test" "d:\profiles\%username%\startmenu\programs\startup"

where %username% is variable and denotes the username.

1 reply

This discussion is closed to new replies.