Basic Ms

  • Uploaded by: Jaspreet Singh
  • 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 Basic Ms as PDF for free.

More details

  • Words: 392
  • Pages: 3
Basic MS-DOS Internal Commands: A beginner Tutorial by Jaspreet Singh

In this tutorial you will learn about basic internal MS-DOS Commands. • • • • • • • • • • • • • • •

Clear Screen Show date Show time Show volume label of system Version of MS-DOS Display directories and sub-directories Creating new files Renaming files View contents of file Delete files Making Directories and sub-directories Change directories and sub-directories Remove directories Copying files, directories and sub-directories Configuring PROMT

(Note that dir. Below in document means directory and sub-dir. Means sub directory)

• CLS- This command is used to clear screen. Syntax- CLS



DATE- Displays Date Syntax- DATE

• TIME- Displays the time Syntax- TIME • VOL- Displays volume label of system Syntax- VOL

• VER- Displays Version of MS-DOS Syntax- VER • DIR- Displays list of directories and sub-directories Syntax- DIR DIR/P- Displays directories and sub-dir. Page wise DIR/W- Displays dir. And sub-dir. Width wise DIR/O- Displays alphabetically DIR/S- Displays directories only • COPY CON- use to create a new file. Syntax- C:\>COPY CON FILENAME.EXTENSION .(If you write only name of file then it will create a text file by default. When you will press enter then it will take the cursor to next line. Then you should write. After writing press Crtl+Z to save) . • REN- Rename file Syntax- REN_oldfilename_newfilename • TYPE- used to open file Syntax- TYPE_filename.extension

• DEL- deletes file Syntax- DEL_filename.extension DEL_*.* (delete all files in a dir. Or sub-dir.) DEL_R*(put some alphabet in place of R. deletes all files starting with R) • MD- Make dir. Or sub-dir. Syntax- MD_directory name • CD or CHDIR- To change directory path or sub-dir. Path Syntax- CD_dir. name For example- we are in C:/>ABC folder and there is a DEF subfolder in ABC folder. Type TYPE DEF and press enter. It will take To you DEF folder CD.. - back to root directory CD/ - one step back • RD- remove dir or sub-dir. (it is necessary to remove all files and folders in directory or sub directory. Syntax- RD • COPY- copy file, dir. Or sub-dir. Syntax- COPY_sourcepath_targetpath •

PROMPT - C onfigure Prompt Syntax- PROMPT (default prompt) PROMPT $P$n (put n = alphabets given below) T= time D= date G= greater sign L= less sign N= displays default drive Q= equal sign

Related Documents

Basic Ms
June 2020 2
Visual Basic En Ms Excel
October 2019 19
Ms
May 2020 36
Ms
May 2020 31
Ms
August 2019 58
Ms
June 2020 27

More Documents from ""