Default location for System files
(Variable: %systemroot%
%windir%)
C:\Windows
Default location for Fonts
C:\Windows\Fonts
Default location for Program files
(Variable: %programfiles%)
C:\Program Files
C:\Program Files (x86) on 64-bit systems only
Default location for User files (user profiles)
(Variable: %userprofile%)
C:\Users\username
Default location for Temporary files (per user)
(Variable %temp%
%tmp%)
C:\Users\username\AppData\Local\Temp
What variable identifies the drive letter where Windows is installed?
%systemdrive%
What are the main types of filename systems?
What are the file extensions for Program files?
.exe
.com
What are the file extensions for Batch files?
.bat
.sh
What are the file extensions for System files?
.dll (dynamic link library)
.drv (device driver)
.vxd (virtual device driver)
What are the file extensions for Document files?
.rtf
.txt
.doc
.wpd
.ppt
.pdf
What are the file extensions for Image files?
.gif
.jpg
.png
.bmp
What are the file extensions for Audio files?
.mp3
.wma
What are the file extensions for Windows Installer files?
.msi
What are the file extensions for Compressed files?
.zip
What are the file extensions for Script files?
.ps1
.vbs
.py
.js
What should you be aware of when it comes to file extensions?
Be aware of the following:
What is a file attribute?
A file attribute is metadata that gives certain qualities to a file after the attribute has been assigned
Name and describe the common NTFS file attributes.
Read-only (R)
The R attribute marks a file as read-only meaning that the file cannot be altered by subsequent users.
Hidden (H)
The H attribute hides a file within the file system so that it cannot be viewed or accessed by users that do not have access to its specific filename.
System (S)
The S attribute identifies a file as a system file that cannot be deleted.
Archive (A)
The A attribute identifies if a file has been modified since the last backup.
Encrypted
The encrypted attribute encrypts a file.
Compressed
The compression attribute causes a file to be compressed to save space on the hard drive.
A file can either be encrypted or compressed, but not both.
Indexing
The index attribute specifies how a file is indexed. Indexing allows a system to quickly locate files using additional extensions assigned by the user.
Permissions
NTFS permissions control access to folders and files through the Windows operating system.
What should you be aware of regarding file attributes?
Be aware of the following regarding file attributes:
Use Folder Options to show protected operating system files, or to show compressed or encrypted files in a different color
What should you remember when working with the command prompt?
Remember the following things when working with the command prompt:
You can repeat a command by pressing the Up arrow key at the command prompt. This will cause the most recent command to appear
“cd” command
Use the cd command to work with the current directory. Common switches used with cd are:
cd /D [file] [path] changes the current drive in addition to changing the directory
“dir” command
Use the dir command to display a list of files and subdirectories in a directory. Common switches used with dir are:
Use - to show files without an attribute. For example, dir /a-r shows files that are not read only
“md; mkdir” command
Use the md and mkdir commands to create (make) a directory. Common switches used with md are:
md [path] [directory] creates a new directory in the directory specified by the path