xcopy /sf e:\temp\oracle\* e:\oracle
/f = This option will display the full path and file name of both the source and destination files being copied. /s = Use this option to copy directories, subdirectories, and the files contained within them, in addition to the files in the root of source. Empty folders will not be recreated. More detail about different options, please refer to: http://pcsupport.about.com/od/commandlinereference/p/xcopy-command.htm |
Monday, July 8, 2013
Windows, copy a folder including sub-folders and files from 1 location into another
Run the following command in a command prompt window will copy all different level of sub-folders and files under e:\temp\oracle to e:\oracle.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment