Rob van der Woude's Scripting Pages

Help text for LoCase.cs

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

LoCase.exe,  Version 2.01
Either rename specified files or render redirected input to all lower case

Usage:    LoCase.exe  filespec  [ /Verbose ]

or:       some_command  |  LoCase.exe

Where:    filespec       the file(s) to be renamed        (wildcards allowed)
          some_command   a command whose output will be rendered to lower case
          /Verbose       displays number of files renamed (requires filespec)

Notes:    Use doublequotes if filespec contains non-alphnumeric characters.
          Return code ("ErrorLevel") equals the number of renamed files.
          Switch may be abbreviated, e.g. /V instead of /Verbose.

Check for redirection by Hans Passant on StackOverflow.com
/questions/3453220/how-to-detect-if-console-in-stdin-has-been-redirected

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

page last uploaded: 2017-03-25, 21:31