Enigma776 Posted August 23, 2008 Share Posted August 23, 2008 Hello, Does anyone know of a simple way of copying a single file to multiple directories. Example; File.Ext to Folder1,Folder2,Folder3 and so on These folders are sub directories of a main folder if that helps. I would do it manually but there are a lot of sub directories. Link to comment https://www.neowin.net/forum/topic/661126-copying-a-single-file-to-multiple-directories/ Share on other sites More sharing options...
0 darkmanx21 Posted August 23, 2008 Share Posted August 23, 2008 Create a shortcut on each drive to link to a main shortcut. Will this not work? I do it for my music and works like a charm. Link to comment https://www.neowin.net/forum/topic/661126-copying-a-single-file-to-multiple-directories/#findComment-589690770 Share on other sites More sharing options...
0 metallithrax Posted August 23, 2008 Share Posted August 23, 2008 use a directory lister to list out the sub directories, and then turn the list into a .bat file i.e. copy c:\file.ext "d:\directory1\sub directory1" copy c:\file.ext "d:\directory1\sub directory2" etc quotes only needed if there is a space in the path Link to comment https://www.neowin.net/forum/topic/661126-copying-a-single-file-to-multiple-directories/#findComment-589690780 Share on other sites More sharing options...
0 Enigma776 Posted August 23, 2008 Author Share Posted August 23, 2008 I can not even work out what your on about let alone how it works, could you make more clear? Link to comment https://www.neowin.net/forum/topic/661126-copying-a-single-file-to-multiple-directories/#findComment-589690786 Share on other sites More sharing options...
0 metallithrax Posted August 23, 2008 Share Posted August 23, 2008 I can not even work out what your on about let alone how it works, could you make more clear? Use this to make a list of the sub directories you want to copy the file into. like this c:\Documents and Settings\woody\Desktop\New Folder\ c:\Documents and Settings\woody\Desktop\New Folder\Copy (2) of New Folder\ c:\Documents and Settings\woody\Desktop\New Folder\Copy (3) of New Folder\ c:\Documents and Settings\woody\Desktop\New Folder\Copy (4) of New Folder\ c:\Documents and Settings\woody\Desktop\New Folder\Copy of New Folder\ c:\Documents and Settings\woody\Desktop\New Folder\New Folder\ then open the resulting file in a text editor and using find/replace to turn it into this copy c:\file.ext "c:\Documents and Settings\woody\Desktop\New Folder\" copy c:\file.ext "c:\Documents and Settings\woody\Desktop\New Folder\Copy (2) of New Folder\" copy c:\file.ext "c:\Documents and Settings\woody\Desktop\New Folder\Copy (3) of New Folder\" copy c:\file.ext "c:\Documents and Settings\woody\Desktop\New Folder\Copy (4) of New Folder\" copy c:\file.ext "c:\Documents and Settings\woody\Desktop\New Folder\Copy of New Folder\" copy c:\file.ext "c:\Documents and Settings\woody\Desktop\New Folder\New Folder\" The quotes are only needed if the path has a space in it. If you want, make a list of the directories you need to copy it into and send it to me with the path to the file you want copying (inc file name) and I will try to sort it for you. Link to comment https://www.neowin.net/forum/topic/661126-copying-a-single-file-to-multiple-directories/#findComment-589690806 Share on other sites More sharing options...
0 darkmanx21 Posted August 23, 2008 Share Posted August 23, 2008 I don't know if you are talking to me or not. Create a folder. Right-click that folder and drop it into one of your drives, C:, for example. Now this shortcut is pointing there. Now take the shortcut you just created and right-click it and drag it to another drive., D:, for example. Whatever you put in that main folder, it will now be in both folders on both drives. I realize these are only shortcuts, but besides getting a batch file list or manually copying them I don't know how. You can synchronize them? Hope it helps, sorry if it doesn't. Link to comment https://www.neowin.net/forum/topic/661126-copying-a-single-file-to-multiple-directories/#findComment-589690818 Share on other sites More sharing options...
0 Enigma776 Posted August 23, 2008 Author Share Posted August 23, 2008 Yea I know how batch files work but I would hoping for a simple solution with out the need for them. Darkmanx you idea will only work if your starting a new sync not for one that is already built Link to comment https://www.neowin.net/forum/topic/661126-copying-a-single-file-to-multiple-directories/#findComment-589690822 Share on other sites More sharing options...
0 SONiKz Posted August 23, 2008 Share Posted August 23, 2008 Removed, by the time I typed it someone else had already :-S Link to comment https://www.neowin.net/forum/topic/661126-copying-a-single-file-to-multiple-directories/#findComment-589690828 Share on other sites More sharing options...
0 Mrs_Angel_D Posted August 23, 2008 Share Posted August 23, 2008 Fileboss isn't free but it does do exactly what your asking you might wanna check it out.... Link to comment https://www.neowin.net/forum/topic/661126-copying-a-single-file-to-multiple-directories/#findComment-589690844 Share on other sites More sharing options...
0 Enigma776 Posted August 23, 2008 Author Share Posted August 23, 2008 Fileboss dis the trick, luckily it has a trial which was not limited :) Thank you so much. Link to comment https://www.neowin.net/forum/topic/661126-copying-a-single-file-to-multiple-directories/#findComment-589690866 Share on other sites More sharing options...
0 +BudMan MVC Posted August 23, 2008 MVC Share Posted August 23, 2008 I have to ask -- why in the world would you need to copy a file to multiple directories? That are sub folders no less, I am drawing a blank on why anyone would want to do this. Most people are looking for ways to remove duplicates -- your trying to create them.. Could you explain why you need some file in every directory -- Im drawing a blank on the purpose of doing such a thing. Link to comment https://www.neowin.net/forum/topic/661126-copying-a-single-file-to-multiple-directories/#findComment-589691130 Share on other sites More sharing options...
0 Mrs_Angel_D Posted September 1, 2008 Share Posted September 1, 2008 I have to ask -- why in the world would you need to copy a file to multiple directories? That are sub folders no less, I am drawing a blank on why anyone would want to do this.Most people are looking for ways to remove duplicates -- your trying to create them.. Could you explain why you need some file in every directory -- Im drawing a blank on the purpose of doing such a thing. I'm not sure about the OP but in my case I was placing index.php files in multiple directory's for a script which makes directory browsing look pretty, and when you have a ton of midi files all sorted by artist then album something like this sure comes in handy. Link to comment https://www.neowin.net/forum/topic/661126-copying-a-single-file-to-multiple-directories/#findComment-589728390 Share on other sites More sharing options...
Question
Enigma776
Hello,
Does anyone know of a simple way of copying a single file to multiple directories.
Example;
File.Ext to Folder1,Folder2,Folder3 and so on
These folders are sub directories of a main folder if that helps.
I would do it manually but there are a lot of sub directories.
Link to comment
https://www.neowin.net/forum/topic/661126-copying-a-single-file-to-multiple-directories/Share on other sites
11 answers to this question
Recommended Posts