CIS106 Supplemental Materials 
Materials will be added as new topics are introduced.


How To Instructions
PrintScreen Image
Copy Text From Command Prompt
How to Zip and Unzip Files
Different ways to Open Command Prompt
Different ways to Open Command Prompt as Administrator (with elevated privileges)

 

 

  Connecting to VMware.  

Logging in with the web client.  These instructions can be used either on campus or off campus.
         vSphere Web Client  - Firefox
         vSphere Web Client  - Chrome (recommended)
If you're using a laptop on and off campus, the hosts file needs to be configured as follows:  Hosts file settings

Install VMWare Tools
Upgrade VMWare Tools
 

Review topics

Absolute and Relative path.
Search Path
 

Chapters from last semester's text.  These are electronic versions of two chapters from the textbook used last semester (CIS121).  I will not be lecturing from these chapters but at some points I do refer to some of the sample batch files provided within the chapters. 

Windows XP Command Line Chapter 10 - pdf format
Windows XP Command Line Chapter 11 - pdf format

Commands A to Z Microsoft TechNet -- Windows XP Alphabetical listing of all commands 

Microsoft TechNet -- Windows 7 Alphabetical listing of all commands 
 
http://www.ss64.com/nt/
Multiple commands and conditional processing symbols

 

http://technet.microsoft.com/en-us/library/bb490954.aspx
http://www.tavi.co.uk/os2pages/cmd.html  (this one also has redirection operators and, although a bit old (OS/2), its content is still accurate.
Redirection Operators http://blog.crankybit.com/
Command redirection Operators - Microsoft' TechNet site
 

http://support.microsoft.com/kb/110930
Replaceable Parameters and Shift Command http://www.ss64.com/nt/shift.html
http://www.febooti.com/products/command-line-email/batch-files/replaceable-parameters-batch-file.html http://windowsitpro.com/articles/index.cfm?articleid=13443&cpage=2
http://command-line-programming.suite101.com/article.cfm/batch_file_programming_shift_cmd
http://makemsi-manual.dennisbareis.com/batch_file_parameters.htm (use of special codes like %~f1 - refers to %1 using it's absolute path)
 
Net User
Net User can be used to create local users in both Windows XP and Windows 7
 
IF Statements http://www.ss64.com/nt/if.html
http://www.febooti.com/products/command-line-email/batch-files/dos-batch-file-if-statement.html
http://www.robvanderwoude.com/ntif.php
http://commandwindows.com/batchfiles-branching.htm 

 
CHOICE

http://www.ss64.com/nt/choice.html   (This site displays the syntax for the old Choice command and the new Choice command.  Be sure to reference the correct syntax.  It's the second on the list -- the one that is listed for Windows 2003 or.... use choice /? in the OS you're using.
SET  SET: http://www.ss64.com/nt/set.html
   Set Variable Edit/Replace: 
   Set  Extract Part of String
   String manipulation examples
http://www.ss64.com/nt/setlocal.html
http://commandwindows.com/variables.htm

 
FOR /L
FOR /F
General Syntax of For /L command for looping
FOR /L

FOR /F

EnabledDelayedExpansion

CALL Call Statement used to call batch files and/or to call SubRoutines within a batch file
Misc. Commands shutdown
Cleanmgr
Net localgroup