Example usage for move.
move /-y report.txt D:\backup\Move files to another directory and control overwrite prompts.
move [{/y|-y}] [<source>] [<target>]The linked Microsoft Learn article is the upstream authority. Availability may depend on Windows release, role, optional feature or interactive tool context.
Example usage for move.
move /-y report.txt D:\backup\| Option / clause | Description |
|---|---|
<source> | Specify one or more files to move. |
<target> | Specify the destination directory. |
/y, /-y | Suppress overwrite prompts, or explicitly request confirmation. |
/? | Display command help or the supported command-line usage. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.