Environment Variable |
Name-Value Pair - To Store Data |
Such as User Variable, System Variable etc. |
How To |
Create Environment Variable | CMD@ setx.exe /M {Name} {Value} |
setx.exe : Program, Set Environment Variable
/M : Switch, System Wide
{Name} : Parameter, Environment Variable Name
{Value} : Parameter, Environment Variable Value |
Alternatively, RUN@ sysdm.cpl → Advanced → Environment Variables... → New... → Enter Variable Name and Value |
|
Directory |
Container - To Organize / Separate Files |
Also Known As Folder |
How To |
Create Directory | CMD@ MKDIR {Directory} |
MKDIR : Command, Create Directory
{Directory} : Parameter, Directory Name |
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Enter Folder Name |
|
Host Name |
Device Name - To Identify Machine |
Also Known As System Name |
How To |
Find Host Name | CMD@ systeminfo.exe /S . |
systeminfo.exe : Program, Display System Information
/S : Switch, System Name
. : Parameter, Local Machine |
Alternatively, RUN@ msinfo32.exe → System Summary → Check System Name |
|
User Name |
Account Name - To Identify User |
Identified by Security Identifier |
How To |
Find User Name | CMD@ whoami.exe /USER |
whoami.exe : Program, Display Logged On User Information
/USER : Switch, System Identifier |
Alternatively, RUN@ netplwiz.exe → Properties → Check User Name |
|
Identified by File Name |
How To |
Create File | CMD@ TYPE NUL > {File} |
TYPE : Command, Display File Content
NUL : Parameter, Null Device
> : Operator, Redirect Output
{File} : Parameter, File Name and File Extension |
Alternatively, RUN@ notepad.exe → Save (Ctrl+S) → Enter File Name & Extension and Select File Type (All files *.*) |
|
File Name |
Primary / Secondary Name - To Identify File |
Separated by Period . Character |
How To |
List File Name | CMD@ DIR /B |
DIR : Command, Display File Name
/B : Option, 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 Type | CMD@ ASSOC {FileExtension} |
ASSOC : Command, 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 Association | CMD@ FTYPE {FileType} |
FTYPE : Command, 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 |
Such as Read-Only, Hidden etc. |
How To |
List File Attribute | CMD@ 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 |
Such as Execute, Read, Write etc. |
How To |
List File Permission | CMD@ 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 |
Such as DOS, UNC, DOS Device etc. |
How To |
List File Path | CMD@ DIR /B /S |
DIR : Command, Display File or Directory
/B : Option, Bare Format
/S : Option, File Path |
Alternatively, RUN@ control.exe folders → View → Display the full path in the title bar |
|
Symbolic Link |
Shortcut and Link to File |
Such as Soft, Hard etc. |
How To |
Create Symbolic Link | CMD@ MKLINK {Link} {File} |
MKLINK : Command, Create Symbolic Link
{Link} : Parameter, Link Name
{File} : Parameter, File Name |
Alternatively, RUN@ C: → Go to File (Right Click) → Create Shortcut |
|
Internet Protocol Address |
Network Address - To Identify Request |
Such as Private, Public etc. |
How To |
Find IP Address | CMD@ ipconfig.exe /all |
ipconfig.exe : Program, IP Configuration Utility
/all : Switch, Full Information |
Alternatively, RUN@ ncpa.cpl → Network Adapter (Right Click) → Status → Details... → Check IPv4 Address |
|
Such as Dynamic, Static etc. |
How To |
List Port | CMD@ netstat.exe -abon |
netstat.exe : Program, TCP/IP Netstat Command
-abon : Switch, 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 |
Such as TCP, UDP, IPC etc. |
How To |
List Socket | CMD@ netstat.exe -abon |
netstat.exe : Program, TCP/IP Netstat Command
-abon : Switch, All Connection + Listening Port + Executable Involved + Owning Process ID |
Alternatively, RUN@ perfmon.exe /res → Network → TCP Connections and Listening Ports |
|