Command: move

  MOVE moves one or more files or a directory to another location.


  MOVE [/Y | /-Y] [/V] [/?] source1[, source2[,...]] destination
    source       The name of the file or directory you want to
                 move (rename).
    destination  Where you want to move the file(s) to.


  /Y   Supresses prompting to confirm you want to overwrite
       an existing destination file.
  /-Y  Causes prompting to confirm you want to overwrite an
       existing destination file.
  /V   Verifies each file as it is written to the destination
       file to make sure that the destination files are identical
       to the source files.
  /?   Shows the help.


  You can also move directories with this tool.
  MOVE supports NLS (national language support).


  Example 1:
    move C:\document\hello.txt D:\docu_new\
  Creates folder D:\docu_new (if it does not yet exist) and moves
  hello.txt there.
  Example 2:
    move C:\document\*.* D:\document\
  Moves all files in folder c:\document to d:\document\
  Example 3:
    move c:\document d:\doc_new
  Moves the folder and all files to d:\doc_new
  Example 4:
  You have a folder with several subdirectories and files inside.
    move c:\document c:\newdoc
  Renames the foldername from document to newdoc and keeps all
  files inside. This has the same result like REN / RENAME.
    ren c:\document  newdoc  (NO C:\newdoc!)
  REN works only in the same driveletter and folder!

See also:


  Copyright © 2003 Robert Platt, updated 2007 and 2022 by W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.