How can I move all the files from one folder to another using the command line?

前端 未结 9 1273
北恋
北恋 2020-12-01 02:53

What is the best command to move all files from one folder to another?

I want to do this from within a batch file.

9条回答
  •  独厮守ぢ
    2020-12-01 03:17

    OMG I Got A Quick File Move Command form CMD

    1)Command will move All Files and Sub Folders into another location in 1 second .

    check command

    C:\user>move "your source path " "your destination path" 
    

    Hint : For move all Files and Sub folders

    C:\user>move "f:\wamp\www" "f:\wapm_3.2\www\old Projects"
    

    check image

    you can see that it's before i try some other code that was not working due to more than 1 files and folder was there. when i try to execute code that is under line by red color then all folder move in 1 second.

    now check this image. here Total 6.7GB data moved in 1 second... you can check date of post and move as well as Folder name.

    i will soon make a windows app that will do same..

提交回复
热议问题