TIP: Click on subject to list as thread! ANSI
echo: os2
to: Bob Wright
from: Jonathan de Boyne Pollard
date: 1999-10-11 08:59:17
subject: New DATE and TIME commands

 JdBP>> Here's the help text message for the TIME command from IBM's 16-bit
 JdBP>> CMD as supplied with OS/2 Warp 4.0.6 :
 JdBP>>
 JdBP>>        [C:\]time /?
 JdBP>>        Use the TIME command to display or change the system time
 JdBP>>        or to reset the time on your computer clock.
 JdBP>>        Syntax:
 JdBP>>          TIME [hh:mm:ss] [/N]
 JdBP>>        where:
 JdBP>>          hh   Specifies the hour.
 JdBP>>          mm   Specifies the minute.
 JdBP>>          ss   Specifies the seconds and the hundredths of a second,
 JdBP>>        separated by a period.
 JdBP>>          /N   Means no prompt for TIME.
 JdBP>>
 JdBP>>        Type TIME without parameters to display the current time
setting
 JdBP>>        and the prompt for a new time.  Press Enter to keep the same
time.
 JdBP>>
 JdBP>>        Type TIME with parameters to enter the time without being
prompted
 JdBP>>        by the system.
 JdBP>>
 JdBP>>        [C:\]
 JdBP>>
 JdBP>> As I said, documenting the option is as far as IBM's 16-bit CMD
 JdBP>> goes. It doesn't actually implement it.  The 32-bit CMD does,
 JdBP>> however:
 JdBP>>
 JdBP>>         [C:\]ver
 JdBP>>         CMD 0.1.18   OS/2 2.40.0
 JdBP>>         [C:\]time /n
 JdBP>>         Current time is: Sat 1999-10-02 10:56:36 +0100
 JdBP>>         [C:\]

 BW> F:\]ver
 BW> The Operating System/2 Version is 3.00
 BW> F:\]time /n
 BW> SYS1003: The syntax of the command is incorrect.

All that that shows is that you are not running the 32-bit CMD.  But we knew
that anyway.  You don't have the 32-bit CMD to run.  You are running the
16-bit CMD.  I've said twice already in this thread that IBM's 16-bit CMD only 
documents this option and doesn't actually implement it: once in the message
quoted above, as you can see, and once two messages before that, explaining to 
Darren Hamilton that this is the situation with IBM's 16-bit CMD when he asked 
why the /N option didn't work when he tried it.  

So I don't understand.  What are you trying to say by simply cutting and
pasting text that shows IBM's 16-bit CMD behaving in exactly the way that I
said that it behaves ?  Are you saying that you want the 32-bit CMD ?  (-:

 ¯ JdeBP ®

--- FleetStreet 1.22 NR
2401/0
* Origin: JdeBP's point, using Squish (2:257/609.3)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.