I want to copy one hidden file to appr 600 subfolders in one parent folder. Using Ctrl-C and then Ctrl-V will not be my cop of tea.
I actually found one cmd command (thanks to SlimJim) that worked for one ordinary file, but not hidden:
[FONT="]File path:[/FONT] [FONT="]C:\Users\Andreas\Desktop\Test\Test.txt[/FONT]
[FONT="]Parent folder:[/FONT] [FONT="]C:\Users\Andreas\Desktop\Test\Album[/FONT]
[FONT="]Cmd command:[/FONT] [FONT="]for /D %a in (C:\Users\Andreas\Desktop\Test\Album\*) do copy C:\Users\Andreas\Desktop\Test\Test.txt “%a”[/FONT]
Does anyone know how to accomplish this with a hidden file?
(Writing a batch file with the name of each folder is not fun)
/Andreas
I actually found one cmd command (thanks to SlimJim) that worked for one ordinary file, but not hidden:
[FONT="]File path:[/FONT] [FONT="]C:\Users\Andreas\Desktop\Test\Test.txt[/FONT]
[FONT="]Parent folder:[/FONT] [FONT="]C:\Users\Andreas\Desktop\Test\Album[/FONT]
[FONT="]Cmd command:[/FONT] [FONT="]for /D %a in (C:\Users\Andreas\Desktop\Test\Album\*) do copy C:\Users\Andreas\Desktop\Test\Test.txt “%a”[/FONT]
Does anyone know how to accomplish this with a hidden file?
(Writing a batch file with the name of each folder is not fun)
/Andreas