Windows 10 (W8,W7?) Locations:


shell:UsersFilesFolder\Desktop or %UserProfile%\Desktop

Taskbar Pinned

%Appdata%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar

Themes & Desktop Wallpapers


Startup Programs

%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup

Start Menu

%ProgramData%\Microsoft\Windows\Start Menu\Programs

Explorer Dropdown Folder List Items

HKEY_CURRENT_USER > Software > Microsoft > Windows > CurrentVersion > Explorer>TypedPaths

Photoshop edit command

“%ProgramFiles%\Adobe\Adobe Photoshop CC 2019\Photoshop.exe” “%1”

NewsLeecher default data location


Environment Variables Control Panel – RUN command

rundll32 sysdm.cpl,EditEnvironmentVariables

Commonly used “User” – Environmental Variables

%APPDATA% = C:\Users\(user-name)\AppData\Roaming
%HOMEPATH% = C:\Users\(user-name)
%ProgramData% = C:\ProgramData
%ProgramFiles% = C:\Program Files
%ProgramFiles(x86)% = C:\Program Files (x86)
%LOCALAPPDATA% = C:\Users\(user-name)\AppData\Local
%USERPROFILE% = C:\Users\(user-name)
%TEMP% = C:\Users\(user-name)\AppData\Local\Temp
%TMP% = C:\Users\(user-name)\AppData\Local\Temp
%PUBLIC% = C:\Users\Public

Environment Variables – Extensive list

%APPDATA% = C:\Users\(user-name)\AppData\Roaming
%CommonProgramFiles% = C:\Program Files\Common Files
%CommonProgramFiles(x86)% = C:\Program Files (x86)\Common Files
%CommonProgramW6432% = C:\Program Files\Common Files
%COMPUTERNAME% = The computer name of the current local system.
%COMSPEC% = C:\Windows\System32\cmd.exe
%DriverData% = C:\Windows\System32\Drivers\DriverData
%HOMEPATH% = \Users\(user-name)
%LOCALAPPDATA% = C:\Users\(user-name)\AppData\Local
%LOGONSERVER% = \MicrosoftAccount
%OneDrive% = Current OneDrive folder location
%OS% = Windows_NT
%ProgramData% = C:\ProgramData
%ProgramFiles% = C:\Program Files
%ProgramFiles(x86)% = C:\Program Files (x86)
%ProgramW6432% = C:\Program Files
%PSModulePath% = C:\Windows\system32\
%PUBLIC% = C:\Users\Public
%SessionName% = When logging on directly to machine, returns
When client connects via terminal server session, is combination of
connection name, followed by pound symbol {#} and session number.
%SystemDrive% = C:
%SystemRoot% = C:\Windows
%TEMP% = C:\Users\(user-name)\AppData\Local\Temp
%TMP% = C:\Users\(user-name)\AppData\Local\Temp
%USERDOMAIN% = The network domain name associated with the
current user.
%USERDOMAIN_ROAMINGPROFILE% = The network domain name associated with the
current roaming profile.
%USERNAME% = (user-name)
%USERPROFILE% = C:\Users\(user-name)
%WINDIR% = C:\Windows

Command Prompt Environment Variables

%CD% = Current directory full path
%CMDCMDLINE% = Returns exact command line used to start
current cmd.exe session.
%CMDEXTVERSION% = Number of current command processor
%DATE% = Current date in format determined by Date
%ERRORLEVEL% = Number defining exit status of previous
command or program
%RANDOM% = To get random number between 0 and 32767
%PROMPT% = Code for current command prompt format. Code
is usually $P$G
%TIME% = Current time in format determined by Time

To pin an uninstalled program to the taskbar:

1. Create a directory for the program in:

%ProgramData%\Microsoft\Windows\Start Menu\Programs\

2. Copy a program shortcut to the created directory. Rename the shortcut to eliminate the ” – Shortcut” part of the file name.

The program will appear in the Start Menu Recently Added and the Folder you created for the program will appear in the Start Menu Apps list.

3. Right-Click on the program icon or name in either location for a Right click Menu choose More->Pin to taskbar.