ITSC 1405 Exam #2 Study Notes Page 1 of 2

ITSC 1405 Exam #2 Study Notes Page 1 of 2

<p>ITSC 1405 – (Ch. 5-8) -Prof Michael P. Harris PC Operating Systems Exam #2 Study Notes</p><p>More DOS Commands:  ATTRIB –S vs. /S</p><p> COPY vs. XCOPY vs. DISKCOPY  ATTRIB with… XCOPY /S /E /M /I  DIR /X (LFN’s & 8.3) “poor mans disk backup?”</p><p>(Commands with aliases)  XCOPY /S /E (empty) vs. /T (tree) /A (attrib) vs /M (mark) vs /K (keep)  CD CHDIR /L (list) vs. /F (full filenames) XCOPY /O (ownership) vs. /X (audit)  MD MKDIR XCOPY /U (update) XCOPY /W vs. /P, /V, /Q, or /F  RD RMDIR XCOPY [/R] [/Y] [/H] [/V]</p><p> REN RENAME  CHKDSK [/F] vs. DEFRAG [/A] [/V]  DEL ERASE  DISKPART vs. FORMAT</p><p> SUBST  MOVE vs. COPY -- MOVE vs. REN</p><p> DIR \filename.ext /S (search cmd) Topics:  DEL /S and DEL /P</p><p> MOVE vs. COPY vs. XCOPY /K  Program vs. Data files (results and attributes)  Meaningful Filenames  RENAME a directory (2 ways)  Naming Convention  REN using wildcards ( * ? )  10 characters NOT to use in  REN –do not specify drive or directory filenames “ / \ : | < > * ? + for the target filename  Wildcards * and ?  COPY [/V] [/Y] [/-Y] [/B] [/A] .* vs. *.</p><p> TREE [/F] [/A] -- TREE vs. DIR  Source vs. Target filespecs</p><p> ATTRIB [+ | -] [SHAR] [/S [/D]]  Using DIR to “pretest” commands  Attributes: (S H A R D)  Absolute vs. Relative path  ATTRIB [+ | -] vs. DIR /AX</p><p>ITSC 1405 – Exam #2 Study Notes Page 1 of 3  Default-Drive and its use  FAT, FAT32, NTFS</p><p> Default-Directory and its use  Allocation Units, (clusters)</p><p> Why use a leading \ (or not)  Redirect ‘>’ to PRN</p><p> COPY to PRN (or LPT1)  COPY with + (concatenation)  [Print Screen] key  Un-deleting a file ??? [PRT SCN]</p><p> Uses for the /S parameter  \\cismaster\VB179-P1</p><p> Use of . and ..  DOSKEY (TSR)  Root Directory files… command history & macros  Incremental Backup  “Read only” files  Full Backup</p><p> “Virtual” Drives (SUBST)  Disk Organization</p><p>ITSC 1405 – Exam #2 Study Notes Page 2 of 3 Examples:</p><p> DIR \always.mp3 /s – finds (searches for) files by looking first in the root directory, and then searching all subdirectories</p><p> DIR /AH \ – shows system and Hidden files in root directory </p><p> RD /S /Q *.* - will removed everything except system and hidden files</p><p> CD .. – takes you to your current parent directory </p><p> CD /D F:\Homework – changes Drive and directory at the same time</p><p> MD \A\B\C\D – creates a directory tree</p><p> SUBST B: F:\Data – creates virtual drive B: which is physically F:\Data</p><p> SUBST H: F:\Homework - creates virtual drive H: which is physically F:\Homework</p><p> SUBST B: /D – Deletes virtual drive B: </p><p> SUBST H: /D - Deletes virtual drive H:</p><p> ATTRIB +R /D – makes Directories Read-only too</p><p> ATTRIB +A *.* /S – turns on the archive bits for all files in all subdirectories </p><p> XCOPY *.* D: /SEMI (or /SHREK)</p><p> *.* D: -copy all files to the D: drive</p><p> /SEMI – /S copies all files in all subdirectories, - /E including all empty directories, - /M copies only files with the archive bit set on and then turns it off - /I assume the destination is a directory (not a file)</p><p> /SHREK - /S copy all files in all Subdirectories - /H copy Hidden files - /R overwrite Read-only files - /E copy Empty files too - /K Keep all existing attributes</p><p>ITSC 1405 – Exam #2 Study Notes Page 3 of 3</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    3 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us