Wednesday, November 17, 2010

I need to know the answers to these DOS computer questions?

Create Directories?

Change Directories?

Create Files Using the Edit command?

Rename Files?

Move Files?

Copy Files?

Delete files?

Display your version of windows?

KNOW HOW TO USE THE WILDCARD CHARACTERS PROPERLY?I need to know the answers to these DOS computer questions?
Create Directories?

First change to the directory UNDER which you want to create a directory

md name



Change Directories?

cd name (to change to a directory under the current one)

cd.. (to change to the next highest directory)

cd\ (to change to root / highest directory)



Create Files Using the Edit command?

edit name.ext



Rename Files?

ren name.ext newname.ext

this only works from the directory where name.ext exists, unless you specify the drive and directory in the command

ren c:\windows\name.ext c:\windows\newname.ext



Move Files?

move moveme.txt c:\windows

would move moveme.txt from the current directory to directory c:\windows\



Copy Files?

copy copyme.exe c:\backup\copyme.bak

would copy copyme.exe from current directory to c:\backup directory, and also rename the file to comyme.bak



Delete files?

del deleteme.txt



Display your version of windows?

control panel, system



KNOW HOW TO USE THE WILDCARD CHARACTERS PROPERLY?

? can specify any value for one digit

* specifies any value for all digits on one side of the .

helpm?.txt would mean you don't care what the letter or number directly before the . is

*.txt would mean you are specifying all files that end in .txtI need to know the answers to these DOS computer questions?
Open up a DOS window, then type each of these *one at a time*...



MD /?

CD /?

EDIT /?

REN /?

MOVE /?

COPY /?

DEL /?



And then you will see the info on each command.

No comments:

Post a Comment