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
          Code to read console window title by Justin Goldspring.

Written by Rob van der Woude

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