AllFreePapers.com - All Free Papers and Essays for All Students
Search

Dos Commands

Autor:   •  April 22, 2015  •  Study Guide  •  855 Words (4 Pages)  •  805 Views

Page 1 of 4

MS-WORD

Display window version – ver

HELP

Ask for help -  help

Help keyword

Select menu bar press – ALT or F10  then use left arrow or right arrow  key & then press enter.

DELETE

Del notes.txt

RENAME

Ren a.txt b.txt

Ren Tuesday Friday

STOP or CANCELING A COMMAND

Use CRTL + BREAK or CTRL + C .

PAUSE A COMMAND

Use CTRL + S or PAUSE .

VIEW LIST OF FILES ON A DISK IN DRIVE

Dir c:

EXTENSIONS

Used to identify  the type of file.

MS-DOS uses the following extensions;

.EXE(executable) or .COM(command) for files that  contains programs.

.SYS(system) for files that contain information about  your hardware

.BAT(batch) for files containing lists of commands that MS-DOS carries out as a set.

COPYING

Copy a file from one directory or disk to another

Copy C: d.txt F:

From Flash

Copy K:s.docx  “C:\Users\james\Desktop”

RENAME A FILE AS IT IS COPIED

Copy K:s.docx  “C:\Users\james\Desktop\kk.docx

Copy A:dbat F:kk.bat

Copying a group of files using a group of wild cards

command to Copy all the files with .DBS extension from current directory to disk in drive B:

copy *.dbs G:

(*.tmp)

COMBINATION TEXT FILES

Copy  v.txt + a.txt kff.txt

Copy  A:v.txt + A: a.txt F:kff.txt

If don’t specify new file destination, all the content r copied to first file name

Copy  v.txt + a.txt kff.txt

COPYING TEXT FROM THE KEYBOARD TO  A FILE

To copy text from keyboard, first create an unformatted text file by using the copy command followed by CON as below;

Copy con note.txt

Then type in the keyboard your text.

When finish typing  type CTRL + Z and then press ENTER.

RENAME A FILE

Ren we.txt go.txt

PRINT

print

DELETE A SINGLE FILE [Keeps in RECYCLE BIN]

del A: temp.exe

 DELETE FILE PERMANENTLY – use ERASE

erase D:vb.txt

DELETE GROUP OF FILES

del a:*.tmp

DELETE ALL FILES IN A DIRECTORY

Delete all files in a directory or drive, use the del command with wildcards

del b:*.*

Delete all Temporary Files

del c:\tmp\*.*

VIEW FILE ATTRIBUTES

To view attributes of a file, use the attrib command,

attrib hol.txt

Attribute of a group of files

Attrib c:\*.*

ATTRIB –displays or changes file attributes

Syntax

attrib [+r -r][+a -a][+s -s][+h -h] [drive:][path] filename [/s]

...

Download as:   txt (5.7 Kb)   pdf (140.1 Kb)   docx (17.6 Kb)  
Continue for 3 more pages »