1 / 21

Basic MS-DOS

Basic MS-DOS. History. MS-DOS 1.0 was released in August 1981, and was updated until April 1994 when it was replaced by Windows 95

lynley
Download Presentation

Basic MS-DOS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Basic MS-DOS

  2. History • MS-DOS 1.0 was released in August 1981, and was updated until April 1994 when it was replaced by Windows 95 • All versions of windows still contain some type of DOS, in windows 95 and 98 you can go to run and type command to get to DOS prompt, in NT, 2000, and XP you can type CMD and get DOS.

  3. Basic Structure • Most DOS commands use the same structure • Command Source Destination /Switch • The switch will give options to the command • Example COPY A:\file.txt c:\ /v • /v will verify if the file copied correctly

  4. MS-DOS Prompt • The prompt in MS-DOS displays your current directory • C:\dos\commands> means you are in that directory, and any command you use will apply to the current directory unless you specify a different one.

  5. DOS Naming • The file name cannot be longer then 8 characters, and extensions cannot be longer then 3 characters. • Characters like * + = | \ [ ] : ; “ < > , ? / cannot be used in DOS names.

  6. Wildcard characters • Wildcard character will replace a single letter, or word with a wild character • * will replace any amput of characters, and ? Will replace one. • Example: copy a:/*.txt c:/ will copy all text files to drive c:/ • Example 2: copy a:/?????.txt c:/ will copy any 5 letter text file to c:/

  7. Basic Commands CD • CD- Change directory • You use this command when you want to change the directory. • Example: CD C:\DOS will bring you to the dos folder

  8. Basic Commands CD.. • CD.. - brings you to the previous directory. • Example: if you are in C:\DOS\FOLDER CD.. Will bring you to C:\DOS

  9. Basic Commands COPY • COPY will copy the file from one location to another • Example COPY A:\file.txt c:\ will copy the file from a:\ to c:\

  10. Basic Command XCOPY • XCOPY can move files, directories, and whole drives from one location to another, It is more powerful then the copy command, and has a lot of switches.

  11. Basic Commands DIR • DIR will display the contents of the folder

  12. Basic Command DEL • DEL will delete a file or an empty directory from the drive

  13. Basic Command EDIT • EDIT will open a text file

  14. Basic Commands MOVE • MOVE will move the file or directory from one location to another • Example: MOVE a:\file.txt c:\file.txt will move the file to the c:\ drive

  15. Basic Commands REN • REN will rename the file • Example : REN file.txt myfile.txt will rename the file.txt to myfile.txt

  16. Basic Commands MD • MD is used to make a directory (folder) in MS-DOS. • Example: MD myfolder will make a folder called myfolder in current directory

  17. Basic Commands DELTREE • DELTREE command will delete the folder and all of its contents, including other folders. • Example: DELTREE C:\myfolder will delete the folder and all the contents.

  18. Basic Command TREE • TREE shows you all of the folders and files in current directory like explorer in windows.

  19. Basic Commands CLS • CLS Will clear the contents of the screen

  20. Attributes • Attributes are the properties of a file such as hidden, read-only, archive or system file. • In MS-DOS you can view/change attributes with the attrib command. • Example: attrib +r file.txt will make the file read-only.

  21. The Help Switch /? • You can use the help switch with any command. It will give you the command structure, and the availible switches.

More Related