Ch. 15 Flashcards
What command is used in a batch file to signify a comment (words that describe what the script is doing)?
#
When writing a script, what does the >= relational operator mean?
Greater than or equal to
T/F: Each scripting language has its own syntax and commands.
True
Which type of variable tells the computer where to find a specific program?
Environment
The ____ _______ is the starting point for all Windows directories.
root directory
A student has opened the command prompt Windows window and the prompt is as follows: C:\Users\Cheryl>
The technician types CD..
What is the result of issuing this command?
The prompt changes to C:\Users>.
Why would a technician use a script?
To automate a task or set of tasks
When considering logic, which operator returns a FALSE only if both sides of the expression are false?
OR
What command is used to list the contents of a Windows directory?
dir
Command used to bring up the System Information window from a command prompt. The System Information window contains details about hardware and hardware configurations as well as software and software drivers.
msinfo32 command
A Windows command used to control and use a remote computer; brings up the Remote Desktop Connection utility.
mstsc command
net command
From a prompt, the net command manages almost everything on a network. It is followed by other options, each of which has different parameters.
net use
From a prompt, the net use command is used to map a network share to a drive letter or view mapped drives on a Microsoft-based machine.
net user
From a prompt, the net user command is used to create, delete, or make changes to user accounts from a command prompt on a Microsoft-based machine.
net stat command
A command that can view current network connections and the local routing table for a PC.
NOT operator
Flips the result of an expression so that if an expression is true, it will return false and vice versa; if the expression is false, it will return true.
nslookup
A Windows troubleshooting command that displays network domain names and their associated IP addresses.
OR operator
Returns false if and only if both sides of the expression are false.
In programming or scripting, the result, which could be a screen, a value, a computation, a printed document, and so on.
output
Used in programming and scripting to tell a program where to find the files that it may need.
PATH variable
A network troubleshooting command used to test TCP/IP communications and determine whether a network path is available, whether any delays exist along the path, and whether a remote network device is reachable. Use it with the private IP address 127.0.0.1 (IPv4) or ::1 (IPv6) to test a NIC’s basic network setup.
ping
A good language for writing scripts because it is easy to learn and they can be run on most operating systems. The extension .py is used with its files.
Python
A Windows command used to remove a directory (folder).
rd
rd
A Windows command used to remove a directory (folder).