batch file to copy files to another location?











up vote
7
down vote

favorite
2












is it possible to create a batch file to copy a folder to another location everytime I login, or when the folder is updated?



It could be written in vb or java aswel if not an easy solution.



Any ideas? Thanks










share|improve this question


























    up vote
    7
    down vote

    favorite
    2












    is it possible to create a batch file to copy a folder to another location everytime I login, or when the folder is updated?



    It could be written in vb or java aswel if not an easy solution.



    Any ideas? Thanks










    share|improve this question
























      up vote
      7
      down vote

      favorite
      2









      up vote
      7
      down vote

      favorite
      2






      2





      is it possible to create a batch file to copy a folder to another location everytime I login, or when the folder is updated?



      It could be written in vb or java aswel if not an easy solution.



      Any ideas? Thanks










      share|improve this question













      is it possible to create a batch file to copy a folder to another location everytime I login, or when the folder is updated?



      It could be written in vb or java aswel if not an easy solution.



      Any ideas? Thanks







      batch-file






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 3 '10 at 20:33









      Elliott

      1,460206088




      1,460206088
























          8 Answers
          8






          active

          oldest

          votes

















          up vote
          8
          down vote



          accepted










          Two approaches:





          • When you login: you can to create a copy_my_files.bat file into your All Programs > Startup folder with this content (its a plain text document):




            • xcopy c:folder*.* d:another_folder.


            Use xcopy c:folder*.* d:another_folder. /Y to overwrite the file without any prompt.



          • Everytime a folder changes: if you can to use C#, you can to create a program using FileSystemWatcher







          share|improve this answer






























            up vote
            3
            down vote













            @echo off
            copy con d:*.*
            xcopy d:*.* e:*.*
            pause





            share|improve this answer























            • puase = pause .
              – K_B
              Apr 29 '13 at 9:38










            • This doesn't work.
              – Endoro
              Apr 29 '13 at 9:45


















            up vote
            1
            down vote













            Open Notepad.



            Type the following lines into it (obviously replace the folders with your ones)



            @echo off
            rem you could also remove the line above, because it might help you to see what happens

            rem /i option is needed to avoid the batch file asking you whether destination folder is a file or a folder
            rem /e option is needed to copy also all folders and subfolders
            xcopy "c:New Folder" "c:Copy of New Folder" /i /e


            Save the file as backup.bat (not .txt)



            Double click on the file to run it. It will backup the folder and all its contents files/subfolders.



            Now if you want the batch file to be run everytime you login in Windows, you should place it in Windows Startup menu. You find it under: Start > All Program > Startup
            To place the batch file in there either drag it into the Startup menu or RIGH click on the Windows START button and select Explore, go in Programs > Startup, and copy the batch file into there.



            To run the batch file everytime the folder is updated you need an application, it can not be done with just a batch file.






            share|improve this answer




























              up vote
              0
              down vote













              Batch file to copy folder is easy.



              xcopy /Y C:Source*.* C:NewFolder


              Save the above as a batch file, and get Windows to run it on start up.



              To do the same thing when folder is updated is trickier, you'll need a program that monitors the folder every x time and check for changes. You can write the program in VB/Java/whatever then schedule it to run every 30mins.






              share|improve this answer




























                up vote
                0
                down vote













                It's easy to copy a folder in a batch file.



                 @echo off
                set src_folder = c:whatever*.*
                set dst_folder = c:foo
                xcopy /S/E/U %src_folder% %dst_folder%


                And you can add that batch file to your Windows login script pretty easily (assuming you have admin rights on the machine). Just go to the "User Manager" control panel, choose properties for your user, choose profile and set a logon script.



                How you get to the user manager control panel depends on which version of Windows you run. But right clicking on My Computer and choosing manage and then choosing Local users and groups works for most versions.



                The only sticky bit is "when the folder is updated". This sounds like a folder watcher, which you can't do in a batch file, but you can do pretty easily with .NET.






                share|improve this answer




























                  up vote
                  0
                  down vote













                  robocopy yourfolder yourdestination /MON:0


                  should do it, although you may need some more options. The switch at the end will re-run robocopy if more than 0 changes are seen.






                  share|improve this answer




























                    up vote
                    0
                    down vote













                    @echo off
                    cls
                    echo press any key to continue backup !
                    pause
                    xcopy c:usersfile*.* e:backup*.* /s /e
                    echo backup complete
                    pause





                    file = name of file your wanting to copy



                    backup = where u want the file to be moved to



                    Hope this helps






                    share|improve this answer




























                      up vote
                      -2
                      down vote













                      @echo off
                      xcopy ...


                      Replace ... with the appropriate xcopy arguments to copy what you want copied.






                      share|improve this answer





















                        Your Answer






                        StackExchange.ifUsing("editor", function () {
                        StackExchange.using("externalEditor", function () {
                        StackExchange.using("snippets", function () {
                        StackExchange.snippets.init();
                        });
                        });
                        }, "code-snippets");

                        StackExchange.ready(function() {
                        var channelOptions = {
                        tags: "".split(" "),
                        id: "1"
                        };
                        initTagRenderer("".split(" "), "".split(" "), channelOptions);

                        StackExchange.using("externalEditor", function() {
                        // Have to fire editor after snippets, if snippets enabled
                        if (StackExchange.settings.snippets.snippetsEnabled) {
                        StackExchange.using("snippets", function() {
                        createEditor();
                        });
                        }
                        else {
                        createEditor();
                        }
                        });

                        function createEditor() {
                        StackExchange.prepareEditor({
                        heartbeatType: 'answer',
                        convertImagesToLinks: true,
                        noModals: true,
                        showLowRepImageUploadWarning: true,
                        reputationToPostImages: 10,
                        bindNavPrevention: true,
                        postfix: "",
                        imageUploader: {
                        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                        allowUrls: true
                        },
                        onDemand: true,
                        discardSelector: ".discard-answer"
                        ,immediatelyShowMarkdownHelp:true
                        });


                        }
                        });














                        draft saved

                        draft discarded


















                        StackExchange.ready(
                        function () {
                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f2195223%2fbatch-file-to-copy-files-to-another-location%23new-answer', 'question_page');
                        }
                        );

                        Post as a guest















                        Required, but never shown

























                        8 Answers
                        8






                        active

                        oldest

                        votes








                        8 Answers
                        8






                        active

                        oldest

                        votes









                        active

                        oldest

                        votes






                        active

                        oldest

                        votes








                        up vote
                        8
                        down vote



                        accepted










                        Two approaches:





                        • When you login: you can to create a copy_my_files.bat file into your All Programs > Startup folder with this content (its a plain text document):




                          • xcopy c:folder*.* d:another_folder.


                          Use xcopy c:folder*.* d:another_folder. /Y to overwrite the file without any prompt.



                        • Everytime a folder changes: if you can to use C#, you can to create a program using FileSystemWatcher







                        share|improve this answer



























                          up vote
                          8
                          down vote



                          accepted










                          Two approaches:





                          • When you login: you can to create a copy_my_files.bat file into your All Programs > Startup folder with this content (its a plain text document):




                            • xcopy c:folder*.* d:another_folder.


                            Use xcopy c:folder*.* d:another_folder. /Y to overwrite the file without any prompt.



                          • Everytime a folder changes: if you can to use C#, you can to create a program using FileSystemWatcher







                          share|improve this answer

























                            up vote
                            8
                            down vote



                            accepted







                            up vote
                            8
                            down vote



                            accepted






                            Two approaches:





                            • When you login: you can to create a copy_my_files.bat file into your All Programs > Startup folder with this content (its a plain text document):




                              • xcopy c:folder*.* d:another_folder.


                              Use xcopy c:folder*.* d:another_folder. /Y to overwrite the file without any prompt.



                            • Everytime a folder changes: if you can to use C#, you can to create a program using FileSystemWatcher







                            share|improve this answer














                            Two approaches:





                            • When you login: you can to create a copy_my_files.bat file into your All Programs > Startup folder with this content (its a plain text document):




                              • xcopy c:folder*.* d:another_folder.


                              Use xcopy c:folder*.* d:another_folder. /Y to overwrite the file without any prompt.



                            • Everytime a folder changes: if you can to use C#, you can to create a program using FileSystemWatcher








                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Oct 21 '16 at 12:17









                            Nilesh Vora

                            71111




                            71111










                            answered Feb 3 '10 at 20:38









                            Rubens Farias

                            48.5k3109148




                            48.5k3109148
























                                up vote
                                3
                                down vote













                                @echo off
                                copy con d:*.*
                                xcopy d:*.* e:*.*
                                pause





                                share|improve this answer























                                • puase = pause .
                                  – K_B
                                  Apr 29 '13 at 9:38










                                • This doesn't work.
                                  – Endoro
                                  Apr 29 '13 at 9:45















                                up vote
                                3
                                down vote













                                @echo off
                                copy con d:*.*
                                xcopy d:*.* e:*.*
                                pause





                                share|improve this answer























                                • puase = pause .
                                  – K_B
                                  Apr 29 '13 at 9:38










                                • This doesn't work.
                                  – Endoro
                                  Apr 29 '13 at 9:45













                                up vote
                                3
                                down vote










                                up vote
                                3
                                down vote









                                @echo off
                                copy con d:*.*
                                xcopy d:*.* e:*.*
                                pause





                                share|improve this answer














                                @echo off
                                copy con d:*.*
                                xcopy d:*.* e:*.*
                                pause






                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited Mar 12 '15 at 10:19









                                Appulus

                                11.8k93040




                                11.8k93040










                                answered Apr 29 '13 at 9:19









                                Mohammed Salem

                                311




                                311












                                • puase = pause .
                                  – K_B
                                  Apr 29 '13 at 9:38










                                • This doesn't work.
                                  – Endoro
                                  Apr 29 '13 at 9:45


















                                • puase = pause .
                                  – K_B
                                  Apr 29 '13 at 9:38










                                • This doesn't work.
                                  – Endoro
                                  Apr 29 '13 at 9:45
















                                puase = pause .
                                – K_B
                                Apr 29 '13 at 9:38




                                puase = pause .
                                – K_B
                                Apr 29 '13 at 9:38












                                This doesn't work.
                                – Endoro
                                Apr 29 '13 at 9:45




                                This doesn't work.
                                – Endoro
                                Apr 29 '13 at 9:45










                                up vote
                                1
                                down vote













                                Open Notepad.



                                Type the following lines into it (obviously replace the folders with your ones)



                                @echo off
                                rem you could also remove the line above, because it might help you to see what happens

                                rem /i option is needed to avoid the batch file asking you whether destination folder is a file or a folder
                                rem /e option is needed to copy also all folders and subfolders
                                xcopy "c:New Folder" "c:Copy of New Folder" /i /e


                                Save the file as backup.bat (not .txt)



                                Double click on the file to run it. It will backup the folder and all its contents files/subfolders.



                                Now if you want the batch file to be run everytime you login in Windows, you should place it in Windows Startup menu. You find it under: Start > All Program > Startup
                                To place the batch file in there either drag it into the Startup menu or RIGH click on the Windows START button and select Explore, go in Programs > Startup, and copy the batch file into there.



                                To run the batch file everytime the folder is updated you need an application, it can not be done with just a batch file.






                                share|improve this answer

























                                  up vote
                                  1
                                  down vote













                                  Open Notepad.



                                  Type the following lines into it (obviously replace the folders with your ones)



                                  @echo off
                                  rem you could also remove the line above, because it might help you to see what happens

                                  rem /i option is needed to avoid the batch file asking you whether destination folder is a file or a folder
                                  rem /e option is needed to copy also all folders and subfolders
                                  xcopy "c:New Folder" "c:Copy of New Folder" /i /e


                                  Save the file as backup.bat (not .txt)



                                  Double click on the file to run it. It will backup the folder and all its contents files/subfolders.



                                  Now if you want the batch file to be run everytime you login in Windows, you should place it in Windows Startup menu. You find it under: Start > All Program > Startup
                                  To place the batch file in there either drag it into the Startup menu or RIGH click on the Windows START button and select Explore, go in Programs > Startup, and copy the batch file into there.



                                  To run the batch file everytime the folder is updated you need an application, it can not be done with just a batch file.






                                  share|improve this answer























                                    up vote
                                    1
                                    down vote










                                    up vote
                                    1
                                    down vote









                                    Open Notepad.



                                    Type the following lines into it (obviously replace the folders with your ones)



                                    @echo off
                                    rem you could also remove the line above, because it might help you to see what happens

                                    rem /i option is needed to avoid the batch file asking you whether destination folder is a file or a folder
                                    rem /e option is needed to copy also all folders and subfolders
                                    xcopy "c:New Folder" "c:Copy of New Folder" /i /e


                                    Save the file as backup.bat (not .txt)



                                    Double click on the file to run it. It will backup the folder and all its contents files/subfolders.



                                    Now if you want the batch file to be run everytime you login in Windows, you should place it in Windows Startup menu. You find it under: Start > All Program > Startup
                                    To place the batch file in there either drag it into the Startup menu or RIGH click on the Windows START button and select Explore, go in Programs > Startup, and copy the batch file into there.



                                    To run the batch file everytime the folder is updated you need an application, it can not be done with just a batch file.






                                    share|improve this answer












                                    Open Notepad.



                                    Type the following lines into it (obviously replace the folders with your ones)



                                    @echo off
                                    rem you could also remove the line above, because it might help you to see what happens

                                    rem /i option is needed to avoid the batch file asking you whether destination folder is a file or a folder
                                    rem /e option is needed to copy also all folders and subfolders
                                    xcopy "c:New Folder" "c:Copy of New Folder" /i /e


                                    Save the file as backup.bat (not .txt)



                                    Double click on the file to run it. It will backup the folder and all its contents files/subfolders.



                                    Now if you want the batch file to be run everytime you login in Windows, you should place it in Windows Startup menu. You find it under: Start > All Program > Startup
                                    To place the batch file in there either drag it into the Startup menu or RIGH click on the Windows START button and select Explore, go in Programs > Startup, and copy the batch file into there.



                                    To run the batch file everytime the folder is updated you need an application, it can not be done with just a batch file.







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Feb 3 '10 at 21:05









                                    Marco Demaio

                                    19.4k30109142




                                    19.4k30109142






















                                        up vote
                                        0
                                        down vote













                                        Batch file to copy folder is easy.



                                        xcopy /Y C:Source*.* C:NewFolder


                                        Save the above as a batch file, and get Windows to run it on start up.



                                        To do the same thing when folder is updated is trickier, you'll need a program that monitors the folder every x time and check for changes. You can write the program in VB/Java/whatever then schedule it to run every 30mins.






                                        share|improve this answer

























                                          up vote
                                          0
                                          down vote













                                          Batch file to copy folder is easy.



                                          xcopy /Y C:Source*.* C:NewFolder


                                          Save the above as a batch file, and get Windows to run it on start up.



                                          To do the same thing when folder is updated is trickier, you'll need a program that monitors the folder every x time and check for changes. You can write the program in VB/Java/whatever then schedule it to run every 30mins.






                                          share|improve this answer























                                            up vote
                                            0
                                            down vote










                                            up vote
                                            0
                                            down vote









                                            Batch file to copy folder is easy.



                                            xcopy /Y C:Source*.* C:NewFolder


                                            Save the above as a batch file, and get Windows to run it on start up.



                                            To do the same thing when folder is updated is trickier, you'll need a program that monitors the folder every x time and check for changes. You can write the program in VB/Java/whatever then schedule it to run every 30mins.






                                            share|improve this answer












                                            Batch file to copy folder is easy.



                                            xcopy /Y C:Source*.* C:NewFolder


                                            Save the above as a batch file, and get Windows to run it on start up.



                                            To do the same thing when folder is updated is trickier, you'll need a program that monitors the folder every x time and check for changes. You can write the program in VB/Java/whatever then schedule it to run every 30mins.







                                            share|improve this answer












                                            share|improve this answer



                                            share|improve this answer










                                            answered Feb 3 '10 at 20:41









                                            Robo

                                            2,31762846




                                            2,31762846






















                                                up vote
                                                0
                                                down vote













                                                It's easy to copy a folder in a batch file.



                                                 @echo off
                                                set src_folder = c:whatever*.*
                                                set dst_folder = c:foo
                                                xcopy /S/E/U %src_folder% %dst_folder%


                                                And you can add that batch file to your Windows login script pretty easily (assuming you have admin rights on the machine). Just go to the "User Manager" control panel, choose properties for your user, choose profile and set a logon script.



                                                How you get to the user manager control panel depends on which version of Windows you run. But right clicking on My Computer and choosing manage and then choosing Local users and groups works for most versions.



                                                The only sticky bit is "when the folder is updated". This sounds like a folder watcher, which you can't do in a batch file, but you can do pretty easily with .NET.






                                                share|improve this answer

























                                                  up vote
                                                  0
                                                  down vote













                                                  It's easy to copy a folder in a batch file.



                                                   @echo off
                                                  set src_folder = c:whatever*.*
                                                  set dst_folder = c:foo
                                                  xcopy /S/E/U %src_folder% %dst_folder%


                                                  And you can add that batch file to your Windows login script pretty easily (assuming you have admin rights on the machine). Just go to the "User Manager" control panel, choose properties for your user, choose profile and set a logon script.



                                                  How you get to the user manager control panel depends on which version of Windows you run. But right clicking on My Computer and choosing manage and then choosing Local users and groups works for most versions.



                                                  The only sticky bit is "when the folder is updated". This sounds like a folder watcher, which you can't do in a batch file, but you can do pretty easily with .NET.






                                                  share|improve this answer























                                                    up vote
                                                    0
                                                    down vote










                                                    up vote
                                                    0
                                                    down vote









                                                    It's easy to copy a folder in a batch file.



                                                     @echo off
                                                    set src_folder = c:whatever*.*
                                                    set dst_folder = c:foo
                                                    xcopy /S/E/U %src_folder% %dst_folder%


                                                    And you can add that batch file to your Windows login script pretty easily (assuming you have admin rights on the machine). Just go to the "User Manager" control panel, choose properties for your user, choose profile and set a logon script.



                                                    How you get to the user manager control panel depends on which version of Windows you run. But right clicking on My Computer and choosing manage and then choosing Local users and groups works for most versions.



                                                    The only sticky bit is "when the folder is updated". This sounds like a folder watcher, which you can't do in a batch file, but you can do pretty easily with .NET.






                                                    share|improve this answer












                                                    It's easy to copy a folder in a batch file.



                                                     @echo off
                                                    set src_folder = c:whatever*.*
                                                    set dst_folder = c:foo
                                                    xcopy /S/E/U %src_folder% %dst_folder%


                                                    And you can add that batch file to your Windows login script pretty easily (assuming you have admin rights on the machine). Just go to the "User Manager" control panel, choose properties for your user, choose profile and set a logon script.



                                                    How you get to the user manager control panel depends on which version of Windows you run. But right clicking on My Computer and choosing manage and then choosing Local users and groups works for most versions.



                                                    The only sticky bit is "when the folder is updated". This sounds like a folder watcher, which you can't do in a batch file, but you can do pretty easily with .NET.







                                                    share|improve this answer












                                                    share|improve this answer



                                                    share|improve this answer










                                                    answered Feb 3 '10 at 20:46









                                                    John Knoeller

                                                    27.9k34384




                                                    27.9k34384






















                                                        up vote
                                                        0
                                                        down vote













                                                        robocopy yourfolder yourdestination /MON:0


                                                        should do it, although you may need some more options. The switch at the end will re-run robocopy if more than 0 changes are seen.






                                                        share|improve this answer

























                                                          up vote
                                                          0
                                                          down vote













                                                          robocopy yourfolder yourdestination /MON:0


                                                          should do it, although you may need some more options. The switch at the end will re-run robocopy if more than 0 changes are seen.






                                                          share|improve this answer























                                                            up vote
                                                            0
                                                            down vote










                                                            up vote
                                                            0
                                                            down vote









                                                            robocopy yourfolder yourdestination /MON:0


                                                            should do it, although you may need some more options. The switch at the end will re-run robocopy if more than 0 changes are seen.






                                                            share|improve this answer












                                                            robocopy yourfolder yourdestination /MON:0


                                                            should do it, although you may need some more options. The switch at the end will re-run robocopy if more than 0 changes are seen.







                                                            share|improve this answer












                                                            share|improve this answer



                                                            share|improve this answer










                                                            answered Nov 16 '10 at 12:29









                                                            Joey

                                                            261k62557597




                                                            261k62557597






















                                                                up vote
                                                                0
                                                                down vote













                                                                @echo off
                                                                cls
                                                                echo press any key to continue backup !
                                                                pause
                                                                xcopy c:usersfile*.* e:backup*.* /s /e
                                                                echo backup complete
                                                                pause





                                                                file = name of file your wanting to copy



                                                                backup = where u want the file to be moved to



                                                                Hope this helps






                                                                share|improve this answer

























                                                                  up vote
                                                                  0
                                                                  down vote













                                                                  @echo off
                                                                  cls
                                                                  echo press any key to continue backup !
                                                                  pause
                                                                  xcopy c:usersfile*.* e:backup*.* /s /e
                                                                  echo backup complete
                                                                  pause





                                                                  file = name of file your wanting to copy



                                                                  backup = where u want the file to be moved to



                                                                  Hope this helps






                                                                  share|improve this answer























                                                                    up vote
                                                                    0
                                                                    down vote










                                                                    up vote
                                                                    0
                                                                    down vote









                                                                    @echo off
                                                                    cls
                                                                    echo press any key to continue backup !
                                                                    pause
                                                                    xcopy c:usersfile*.* e:backup*.* /s /e
                                                                    echo backup complete
                                                                    pause





                                                                    file = name of file your wanting to copy



                                                                    backup = where u want the file to be moved to



                                                                    Hope this helps






                                                                    share|improve this answer












                                                                    @echo off
                                                                    cls
                                                                    echo press any key to continue backup !
                                                                    pause
                                                                    xcopy c:usersfile*.* e:backup*.* /s /e
                                                                    echo backup complete
                                                                    pause





                                                                    file = name of file your wanting to copy



                                                                    backup = where u want the file to be moved to



                                                                    Hope this helps







                                                                    share|improve this answer












                                                                    share|improve this answer



                                                                    share|improve this answer










                                                                    answered Sep 1 '15 at 9:38









                                                                    ANONYMOUS

                                                                    1




                                                                    1






















                                                                        up vote
                                                                        -2
                                                                        down vote













                                                                        @echo off
                                                                        xcopy ...


                                                                        Replace ... with the appropriate xcopy arguments to copy what you want copied.






                                                                        share|improve this answer

























                                                                          up vote
                                                                          -2
                                                                          down vote













                                                                          @echo off
                                                                          xcopy ...


                                                                          Replace ... with the appropriate xcopy arguments to copy what you want copied.






                                                                          share|improve this answer























                                                                            up vote
                                                                            -2
                                                                            down vote










                                                                            up vote
                                                                            -2
                                                                            down vote









                                                                            @echo off
                                                                            xcopy ...


                                                                            Replace ... with the appropriate xcopy arguments to copy what you want copied.






                                                                            share|improve this answer












                                                                            @echo off
                                                                            xcopy ...


                                                                            Replace ... with the appropriate xcopy arguments to copy what you want copied.







                                                                            share|improve this answer












                                                                            share|improve this answer



                                                                            share|improve this answer










                                                                            answered Feb 3 '10 at 20:37









                                                                            Anon.

                                                                            43k66883




                                                                            43k66883






























                                                                                draft saved

                                                                                draft discarded




















































                                                                                Thanks for contributing an answer to Stack Overflow!


                                                                                • Please be sure to answer the question. Provide details and share your research!

                                                                                But avoid



                                                                                • Asking for help, clarification, or responding to other answers.

                                                                                • Making statements based on opinion; back them up with references or personal experience.


                                                                                To learn more, see our tips on writing great answers.





                                                                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                                                                Please pay close attention to the following guidance:


                                                                                • Please be sure to answer the question. Provide details and share your research!

                                                                                But avoid



                                                                                • Asking for help, clarification, or responding to other answers.

                                                                                • Making statements based on opinion; back them up with references or personal experience.


                                                                                To learn more, see our tips on writing great answers.




                                                                                draft saved


                                                                                draft discarded














                                                                                StackExchange.ready(
                                                                                function () {
                                                                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f2195223%2fbatch-file-to-copy-files-to-another-location%23new-answer', 'question_page');
                                                                                }
                                                                                );

                                                                                Post as a guest















                                                                                Required, but never shown





















































                                                                                Required, but never shown














                                                                                Required, but never shown












                                                                                Required, but never shown







                                                                                Required, but never shown

































                                                                                Required, but never shown














                                                                                Required, but never shown












                                                                                Required, but never shown







                                                                                Required, but never shown







                                                                                Popular posts from this blog

                                                                                A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

                                                                                Calculate evaluation metrics using cross_val_predict sklearn

                                                                                Insert data from modal to MySQL (multiple modal on website)