Cd Or Chdir

  • Uploaded by: Rahul Malhotra
  • 0
  • 0
  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Cd Or Chdir as PDF for free.

More details

  • Words: 229
  • Pages: 2
MS DOS COMMANDS: cd or chdir Change current directory. Displays the current working directory when used without a path parameter. cd

displays the current working directory on the current drive. cd f:

displays the current working directory on F:. cd directory

changes the working directory on E: to directory. cd ..

changes the working directory to the parent directory (up one directory level). cd \

cls Clears the screen. cls

del or erase Deletes one or more files. del filename erase filename

copy Copies files from one location to another. The destination defaults to the current directory. If multiple source files are indicated, the destination must be a directory, or an error will result.

Syntax: copy filespec [destination]

md or mkdir Makes a new directory. The parent of the directory specified will be created if it does not already exist. md directory

dir Lists the contents of a directory.The dir command typed by itself, displays the disk's volume label and serial number; one directory or filename per line. dir [drive:][path][filename] [parameters]

ren Renames a file. Unlike the move command, this command cannot be used to rename subdirectories, or rename files across drives. ren filename newname

time and date Display and set the time and date time date

type Display a file. The more command is frequently used in conjunction with this command, e.g. type long-text-file | more. type filename

Related Documents

Cd Or Chdir
June 2020 3
Cd-cd
May 2020 74
Cd
June 2020 55
Cd
June 2020 68
Cd
December 2019 81
Cd
November 2019 81

More Documents from ""