Lab #3 - samuel-richardson/Sam-Tech-Journal GitHub Wiki
Lab #3: Scripting Practice
In the lab a batch file was created which created a directory and created files for various system info
tree command
The tree command gets the current or specified directory and prints out all following directories and their files in the tree structure.
systeminfo command
The systeminfo command displays system info such as computer and os specifications
set and use variables
Variables can be set by using the set command followed by the variable name = to the data for the variable. To call the variable enclose the variable name in % such as %varible_name%. If calling a variable with text it must be placed inside quotations such as "%varible_name%\systeminfo.txt".