Windows Environment Commands

Windows Environment Commands

These are my most frequently used, often to just get to a location on the SystemRoot quickly. None of these are case sensistive

%USERPROFILE% - Equivalent of ~ on *nix systems.
%WINDIR% - Windows Directory although it seems to hav ebeen superseded by %SystemRoot%
%APPDATA% - Goes to the roaming folder
%LOCALAPPDATA% - goes to the local folder
%LOGONSERVER% -  goes to \\domain_logon_server
%PROGRAMFILES% - C:\Program Files
%PROGRAMFILES(X86)% - C:\Program Files (x86)
%PSModulePath% - Powershell Modules Path
Advertisements

Author: Dan

IT Expert & System Administrator.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s