Solved

batch file to move folders and filesto new folder

Posted on 2011-09-17
4
341 Views
Last Modified: 2012-05-12
i need a batch script that will move a folder and all files in the folder to a new folder

example;
move C:\MyFiles  [ which has 3 folders and 6 files ] to C:\Backups

Thanks
0
Comment
Question by:webdott
  • 2
  • 2
4 Comments
 
LVL 43

Accepted Solution

by:
Steve Knight earned 500 total points
ID: 36554806
Have you tried move - it will do subdirs and files too as long as it is on the same drive:

move c:\myfiles c:\backups

Steve
0
 

Author Comment

by:webdott
ID: 36555140
that worked - thanks


0
 

Author Closing Comment

by:webdott
ID: 36555141
thanks
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 36555181
No problem, I like the easy ones!
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now