timbo343 Posted February 15, 2008 Posted February 15, 2008 Ive forgotten how you move folders with contents to another folder using .bat. Basically ive got c:\folder1 with contents and want to move folder1 and contents into c:\folder2 so it looks like c:\folder2\folder1. Can someone remind me how to do it. Ta
Jona Posted February 15, 2008 Posted February 15, 2008 yeh xcopy is what your after - http://www.computerhope.com/xcopyhlp.htm or xcopy /? Cheers Jona
DMcCoy Posted February 15, 2008 Posted February 15, 2008 Or perhaps even the move command? Test1 Test2 move Test1 Test2\ Ends up with Test2\Test1 Probably best to use the full paths though so it doesn't matter about where the script is run from.
Jona Posted February 15, 2008 Posted February 15, 2008 *Can't read* if you want to move then funily enough move is probably the best command to use: http://www.computerhope.com/movehlp.htm or cmd > move /? Alternatively there is this which looks intresting: http://www.softlookup.com/download.asp?id=25019 Cheers Jona
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now