Sideway
output.to from Sideway
Draft for Information Only

Content

MS DOS Command: MOVE.EXE
 Description
 Syntax
 Parameters
 Switches
 Examples

MS DOS Command: MOVE.EXE

Reference from Microsoft MS-DOS cmd help

Description

Moves one or more files to the location you specify. The MOVE command can also be used to rename directories.

Syntax

MOVE [/Y|/-Y] [drive:][path]filename[,[drive:][path]filename[...]] destination

Parameters

[drive:][path]filename Specifies the location and name of the file or files you want to move. Also specifies the name of a directory you want to rename.
destination Specifies the new location of the file, or the new name of the directory. Destination can consist of a drive letter and colon, a directory name, or a combination. If you are moving only one file, you can also specify a filename if you want to rename the file when you move it. If you are moving more than one file, the destination must be a directory name. Moving a file to an existing file overwrites the existing file.

Switches

/Y Indicates that you want MOVE to replace existing file(s) without prompting you for confirmation. By default, if you specify an existing file as the destination file, MOVE will ask you if you want to overwrite the existing file. (Previous versions of MS-DOS would simply replace the existing file.) If the MOVE command is part of a batch file, MOVE will replace the file without prompting you. Specifying this switch overrides all defaults and the current setting of the COPYCMD environment variable.
/-Y Indicates that you want MOVE to prompt you for confirmation when replacing an existing file. Specifying this switch overrides all defaults and the current setting of the COPYCMD environment variable.

Examples

Suppose C:\LETTERS is a directory. To move the files ED.TXT and SIGRID.TXT from the current directory to the LETTERS directory on drive C, type the following at the command prompt:

move ed.txt,sigrid.txt c:\letters

To move the BILL.TXT file from the current directory to the LETTERS directory on drive C and rename it ANN.TXT, type the following at the command prompt:

move bill.txt c:\letters\ann.txt

To rename the THISYEAR directory on drive C to LASTYEAR, type the following at the command prompt:

move c:\thisyear c:\lastyear


©sideway

ID: 110700224 Last Updated: 7/29/2011 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Travel 18

Reference 79

Computer

Hardware 254

Software

Application 213

Digitization 37

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 431

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Set 1

Logic 1

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019