Search found 2 matches
- 10 Jun 2016 07:46
- Forum: DOS Batch Forum
- Topic: How to copy files to all Users?
- Replies: 12
- Views: 6795
Re: How to copy files to all Users?
for /d %a in (c:\users\*) do copy [myfile(s)] %a\Desktop Substitute [myfile(s)] with your disk:\path\file(s) Hope this help M. The OP asked for a batch file. Your code will not work in a batch file. True. In a batch file you must use double "%" for /d %%a in (c:\users\*) do copy [myfile(s...
- 08 Jun 2016 09:22
- Forum: DOS Batch Forum
- Topic: How to copy files to all Users?
- Replies: 12
- Views: 6795
Re: How to copy files to all Users?
for /d %a in (c:\users\*) do copy [myfile(s)] %a\Desktop
Substitute [myfile(s)] with your disk:\path\file(s)
Hope this help
M.
Substitute [myfile(s)] with your disk:\path\file(s)
Hope this help
M.