Rob van der Woude's Scripting Pages

Help text for GetTitle.cs

(view help text of GetTitle.cs as plain text)

GetTitle,  Version 4.00
Return the current window's title, optionally stripping the 'Administrator:'
prefix on UAC enabled systems, and/or the command line

Usage:    GETTITLE  [ /NC ]  [ /NP ]

Where:    /NC   strips the command line if appended to the title
          /NP   strips the 'Administrator:' prefix on UAC enabled systems
                (ignored if the process does not run with elevated privileges)

Credits:  Check for elevated privileges based on a thread on StackOverflow.com
          /questions/1220213/c-detect-if-running-with-elevated-privileges
          Code to read console window title by Justin Goldspring.

Written by Rob van der Woude
http://www.robvanderwoude.com

page last uploaded: 2022-10-05; loaded in 0.0097 seconds