Check-in [d93ac4d237]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Pulled help text of IsWorkstationLocked to external file, to be included as resource and loaded from there. This also allows direct inclusion in the Fossil project website.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d93ac4d237283383d200f8f59cb1c045f14ae829
User & Date: Martijn 2014-01-03 09:09:26.676
Context
2014-02-26
14:51
Added ConvertCharset, a command-line utility that translates a text file from one character set to another. check-in: 7dd45a3fcb user: MCO tags: trunk
2014-01-03
09:09
Pulled help text of IsWorkstationLocked to external file, to be included as resource and loaded from there. This also allows direct inclusion in the Fossil project website. check-in: d93ac4d237 user: Martijn tags: trunk
2013-11-26
18:53
Added IsWorkstationLocked and FinalPathNameByHandle, two command-line utilities. IsWorkstationLocked reports whether the workstation is locked, or waits for the given status. FinalPathNameByHandle shows the final pathname of the given path; i.e. after resolving all junctions and symbolic links. check-in: 40b1957fe8 user: Martijn tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Added src/res/IsWorkstationLocked-help.txt.
































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
IsWorkstationLocked [/w:l[ock]] [/w:u[nlock]] [/w:t[oggle]] [/w:99999] [/w:HH:MM]
Reports whether the workstation is locked, or waits for the given status.

/w:lock        Waits until the workstation is locked, then returns.
/w:unlock      Waits until the workstation is unlocked, then returns.
/w:toggle      Waits until the workstation changes state, then returns.
               (i.e. if it's locked, waits until unlock, otherwise until lock).

/w:99999       Times out after the given number of seconds, no matter what.
/w:HH:MM       Times out after the given (date and) time, no matter what.

Batch files can use this command's return value to determine the status of the workstation.
ERRORLEVEL 0 means the workstation is not locked.
ERRORLEVEL 1 means the workstation is locked.
ERRORLEVEL 2 means no attempt was made to check the status of the workstation (e.g. this help was displayed).
ERRORLEVEL 3 or higher means an error has occurred.