Shared Top Border
  
 
 

Welcome to cmdLine:// Plus!

DOWNLOAD NOW!

Shared Left Border

Home
Version History
Help and Examples
Contact Us

 

Make a point to bookmark this page!  Many features are planned for addition to both Plus! and PRO versions.  Feel free to make suggestions to the Suggestion Mailbox

 
 

Did you know about cmdLine: PRO?

Included with your copy of cmdLine:// Plus! is another program called cmdLine: PRO.  PRO is the best utility for those of you who write scripts or batch files!  Almost all of the commands that are available with Plus! are available with PRO.  PRO also includes a special option to output the results as a SET command to facilitate the setting of local environment variables.  A typical use is renaming or setting a filename to include the current date.  Now, with PRO, you can do this with two lines.

The first line is redirecting the output of CLP.exe to a .bat file, which will contain the
SET varname=value command.

The second line is calling the .bat file to set the variable.

Its that simple!

You'll find the program (CLP.EXE) in the application's program directory


Help and Examples

 
Help on commands:
math:// | date:// | time:// | text:// | text://regex... | reg:// | props://
 

 
date://

Usage:

date://<cmd>(<value>);<opt1>;<opt2>

or

date://<date>+-<date>;<interval>

or

date://<date>+n<interval>;<opt1>

Where <cmd> is a special date command,

<value> is a value, usually a date,

<opt1>,<opt2> are formatting options specific to each command,

<date> is a date

<interval> is an interval like days, weeks, etc

Items between [square brackets] are optional

The pipe character (|) is used like the word OR.  So, [value1|value] means that either value1 or value2


Examples and explanations:  (in the examples, the < and > should be left out when using cmdLine:// Plus!)

cmdLine:// Plus! when evaluating date:// commands will replace any ? marks with the current date and will replace ?? marks with a date you choose from a calendar window that will popup.

  • date://today[;long|;short|;medium]
    returns the current date where
    ;long after the date returns a long date like Wednesday, June 1, 2000
    ;medium after the date returns a medium date like Wed, Jun 1, 2000
    ;short after the date returns a short date like 06/01/2000
    ;number after the date returns the date with only the numbers like 20000601

  • date://cal[(<date>)]
    shows a 2 month calendar
    if a <date> is passed between ( ) then the selected date in the calendar is that date otherwise the calendar defaults to the current date

  • date://day(<date>)
      returns the number day of the supplied date

  • date://month(<date>)
      returns the number month of the supplied date

  • date://year(<date>)
      returns the year from the supplied date

  • date://number(<date>)
      returns the number of days from Jan 1 to the date supplied

  • date://percent(<date>)
      returns a percentage where the date supplied is X% of the entire year

  • date://week(<date>)
      returns the week number of the year for the supplied date

  • date://weekday(<date>)[;l|m|s|n]
      returns the day of the week for the supplied date
      use ;l to return the full weekday name
      use ;m to return the first 3 letters of the weekday name
      use ;s to return the first 2 letters of the weekday name
      use ;n to return the number of the weekday (1-7)

  • date://(<date>)+n[;<interval>[;<format>]]
      returns a date where the specified number (n) is added
      from the supplied date
      if <interval> is not supplied, days are added

  • date://(<date>)-n[;<interval>[;<format>]]
      returns a date where the specified number (n) is subtracted
      from the supplied date
      if <interval> is not supplied, days are subtracted

  • date://(<date>)-(<date>)[;<interval>]
      returns the number of <interval> difference between two
      dates;  if <interval> is not supplied, days are used


 

Shared Bottom Border
  Part of the iQueue Systems, Inc. family.  

 
iQueue Systems, Inc.  All rights reserved.  ©2003  No portion of this site may be re-produced for any purpose without prior written permission.
Contact webmaster@iqsweb.com for more information