.NET DEBUGGING
OOPSOOADSOLIDDPDSSQLXMLFAQ
Module 3 - General Terminology
Environment Variable
Name-Value Pair to Store Data
For Instance User, System etc.
How To
Create Environment VariableCMD@ setx.exe /M {Name} {Value}
setx.exe : Program, Sets Environment Variable

/M : Switch, Specifies System Wide

{Name} : Parameter, Environment Variable Name

{Value} : Parameter, Environment Variable Value
Alternatively, RUN@ sysdm.cpl → Advanced → Environment Variables... → New... → Name and Value
Directory
Organise and Separate Files / Directories
Also Known As Folder
How To
Create DirectoryCMD@ MKDIR {Directory}
MKDIR : Command, To Create Directory

{Directory} : Parameter, Directory Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Folder Name
Host Name
Unique Name of Machine
Also Known As System Name
How To
List Host NameCMD@ systeminfo.exe /S .
systeminfo.exe : Program, Displays System Information

/S : Switch, Specifies System Name

. : Parameter, Local Machine
Alternatively, RUN@ msinfo32.exe → System Summary → System Name
User Name
User Account Name on Machine
Identified by Security Identifier
How To
List User NameCMD@ whoami.exe /USER
whoami.exe : Program, Displays Logged On User Information

/USER : Switch, Specifies System Identifier
Alternatively, RUN@ netplwiz.exe → Properties → User Name
File
Store Codes, Instructions, Data, Settings etc.
Identified by File Name
How To
Create FileCMD@ TYPE NUL > {File}
TYPE : Command, To Display File Content

NUL : Parameter, Null Device

> : Operator, Redirects Output to File

{File} : Parameter, File Name and File Extension
Alternatively, RUN@ notepad.exe → Save (Ctrl+S) → File Name & Extension and File Type (All files *.*)
File Name
Name and Extension of File
Separated by Period . Character
How To
List File NameCMD@ DIR /B
DIR : Command, To Display File Name

/B : Option, Specifies Bare Format
Alternatively, RUN@ control.exe folders → View → Hide extensions for known file types
File Type
Class and Category of File
Identified by File Extension
How To
List File TypeCMD@ ASSOC {FileExtension}
ASSOC : Command, To Display File Association

{FileExtension} : Parameter, File Extension
Alternatively, RUN@ regedit.exe → HKEY_CLASSES_ROOT → File Extension
File Association
File Type Association with Program
Identified by File Type
How To
List File AssociationCMD@ FTYPE {FileType}
FTYPE : Command, To Display File Type

{FileType} : Parameter, File Type
Alternatively, RUN@ control.exe /name Microsoft.DefaultPrograms /page pageFileAssoc → Choose defaults by file type
File Attribute
Metadata Information of File
For Instance Read Only, Hidden etc.
How To
List File AttributeCMD@ attrib.exe {File}
attrib.exe : Program, Attribute Utility

{File} : Parameter, File Name
Alternatively, RUN@ C: → Go to File (Right Click) → Properties → General → Attributes
File Permission
Access Control and Security Setting of File
For Instance Execute, Read, Write etc.
How To
List File PermissionCMD@ icacls.exe {File}
icacls.exe : Program, Control ACLs Program

{File} : Parameter, File Name
Alternatively, RUN@ C: → Go to File (Right Click) → Properties → Security
File Path
Location of File in File System
For Instance DOS, UNC, DOS Device etc.
Example
DOS
Absolute C:\Windows\System32\ntoskrnl.exe
Relative \Windows\System32\ntoskrnl.exe
UNC
Root \\{Host}\C$\Windows\System32\ntoskrnl.exe
Share \\{Host}\System32\ntoskrnl.exe
DOS Device
Question Mark ? \\?\C:\Windows\System32\ntoskrnl.exe
Period . \\.\C:\Windows\System32\ntoskrnl.exe
C: : Home Drive or Root Drive

\\ : Double Backslash Character, Server Separator

\ : Backslash Character, Directory Separator

{Host} : Host Name or IP Address

C$ : Shared Root Partition or Volume

\\.\ or \\?\ : Device Path Specifier
How To
List File PathCMD@ DIR /B /S
DIR : Command, To Display File or Directory

/B : Option, Specifies Bare Format

/S : Option, Specifies File Path
Alternatively, RUN@ control.exe folders → View → Display the full path in the title bar
Symbolic Link
Shortcut and Link to File
For Instance Soft, Hard etc.
How To
Create Symbolic LinkCMD@ MKLINK {Link} {File}
MKLINK : Command, To Create Symbolic Link

{Link} : Parameter, Link Name

{File} : Parameter, File Name
Alternatively, RUN@ C: → Go to File (Right Click) → Create Shortcut
Internet Protocol Address
Unique Address of Machine
For Instance Private, Public etc.
How To
List IP AddressCMD@ ipconfig.exe /all
ipconfig.exe : Program, IP Configuration Utility

/all : Switch, Specifies Full Information
Alternatively, RUN@ ncpa.cpl → Network Adapter (Right Click) → Status → Details...
Port
Unique Number of Program
For Instance Dynamic, Static etc.
How To
List PortCMD@ netstat.exe -abon
netstat.exe : Program, TCP/IP Netstat Command

-abon : Switch, Specifies All Connection + Listening Port + Executable Involved + Owning Process ID
Alternatively, RUN@ perfmon.exe /res → Network → TCP Connections and Listening Ports
Socket
Combination of IP Address and Port Number
For Instance TCP, UDP, IPC etc.
How To
List SocketCMD@ netstat.exe -abon
netstat.exe : Program, TCP/IP Netstat Command

-abon : Switch, Specifies All Connection + Listening Port + Executable Involved + Owning Process ID
Alternatively, RUN@ perfmon.exe /res → Network → TCP Connections and Listening Ports
ACL
Access Control List

ASSOC
Association

ATTRIB
Attribute

CONFIG
Configuration

CPL
Control Panel

DM
Device Manager

DOS
Disk Operating System

EXE
Executable

INFO
Information

FTYPE
File Type

ICACLS
Integrity Control Access Control List

ID
Identifier

IP
Internet Protocol

IPC
Inter Process Communication

IPCONFIG
Internet Protocol Configuration

MKDIR
Make Directory

MKLINK
Make Link

MON
Monitor

MS
Microsoft

NCPA
Network Control Panel Applet

NETSTAT
Network Statistics

NT
New Technology

NUL
Null

OS
Operating System

PERF
Performance

REG
Registry

RES
Resource

SID
Security Identifier

SYS
System

TCP
Transmission Control Protocol

UDP
User Datagram Protocol

UNC
Universal Naming Convention

WIZ
Wizard