[dba-Tech] Command line: move

Jim Lawrence accessd at shaw.ca
Mon Apr 11 15:09:56 CDT 2011


I would tend to do the move in two steps:

First copy the contents to the other drive:
Xcopy c:\source e:\source /s /v

...and then remove the source location once the copy has been completed and
validated.

Del c:\source /s

HTH
Jim



-----Original Message-----
From: dba-tech-bounces at databaseadvisors.com
[mailto:dba-tech-bounces at databaseadvisors.com] On Behalf Of John Bartow
Sent: Monday, April 11, 2011 12:36 PM
To: DBA-Tech
Subject: [dba-Tech] Command line: move

Hi all,
I recall that some of you use the windows command line quite a bit yet.

Can someone tell me what the command line would be to move all folders and
files contained in a specific folder to another drive? 

It's Something I want to do it a batch files and schedule for archiving
purposes.

TIA John B.

_______________________________________________
dba-Tech mailing list
dba-Tech at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-tech
Website: http://www.databaseadvisors.com




More information about the dba-Tech mailing list