DOS, CMD, and BAT Flashcards
T/F - When you are writing a Windows batch file, you must ensure that the commands are written in lowercase because they are case-sensitive
False
DOS was considered a _______ OS
Single Task
16 bit
Command line
GUI Interface
Single task, 16 bit, command line
In DOS, what is the command to see how many directories and files are in a drive?
D:>\dir
Which commands help you find more information about a specific command such as copy?
Help copy
Copy /?
T/F - In windows \CD takes you to the root (top) of the directory
True
What represents root in windows? What represents root in Linux?
C:\ and /
When using C:>dir | more what key jumps to the next page?
Space
The /I command in a batch file tells the interpreter to only use the ____ letter of the user input
First
T/F - “Echo off” command means the command interpreter will not display the command that you entered to run the batch file
True
When working in cmd, which command clears the screen?
cls
In DOS, “CD..” with 2 dots takes you
One directory back
The command to remove arch.txt is
Del arch.txt
in W10 the prompt is set to the C:> drive and you need access to the D: drive, what command do you use to switch?
D:
To view the contents of a folder in command prompt, you type
DIR
In a batch file “Echo Off” is usually placed at the
beginning
In batch files what two symbols follow a command in order to list the possible options the programmer has with said command?
/?
ie. command /?