-
Most likely you have the order mixed up or have run this multiple times. The way I got the same results is to line out "WAITING" then line out "DOWN". This produces the file like you mentioned.
What is really happening here is the first call to lineout implies opening the file for appending. Then by telling lineout you want to move the position to the beginning of the file (the third...
2010-01-06 18:18:09 UTC by nobody
-
Date is an internal command. External commands would require an extension (".exe") or some other way to resolve the extension (see %PATHEXT%).
You will also need to run this script with an account with permissions to change the date.
More Info:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true
/* sample.rex */
"date 08/11/09".
2010-01-06 17:55:26 UTC by nobody
-
Try:
"date" '08/10/09'
or maybe
System "Date" "08/10/09".
2010-01-05 18:11:31 UTC by mrumunhum
-
Fixed in SVN revision 5476.
2010-01-05 17:35:20 UTC by darthapache
-
I'm trying to write an oorexx-program to change the system date (on XP). I've tried including the command "date.exe 08/10/09" but no go. I could manually set the date to that value, but not automatically. Is there a function/class to set the date without calling date.exe? (ie a cross-platform function)
2010-01-05 12:32:50 UTC by nobody
-
getOption method for socket fails because socket.cls has SockGetSendOpt call instead of SockGetSockOpt (how it is in rxsock.dll).
Really, nobody checked/used it ?
Regards,
Vladimir
ooRexx 4.0 Windows XP SP 2.
2010-01-05 03:48:49 UTC by duselguy
-
Maybe you can retrieve the text with sourceline() ?
call HereText
--By using -- comments instead of /* ... */ then we can freely embed */ characters
--Special characters should be supported : " ' ? ! - éèçà
--You may have a problem of characters encoding... For example, the french accents
--won't be displayed correctly in a DOS shell.
call DisplayHereText...
2010-01-04 08:39:14 UTC by jfaucher
-
Hello, I opened the bug 2925296 . Best regards, Vladimir.
2010-01-03 18:27:25 UTC by duselguy
-
Sorry, forgot it: the ocx requires VB5 runtime dlls.
2010-01-03 18:21:46 UTC by duselguy
-
OLE events are scheduled if mainline waits on infinite SysSleep.
OLE events are NOT scheduled if mainline waits on queue or SysWaitEventSem.
The problem was discussed also in HELP forum. Unfortunatelly, all samples use SysSleep that is not allowed for pure event driven applications.
Environment: oorexx 4.0 , Windows XP SP2
The sample with problem is below. It works with SysSleep. It doesn't...
2010-01-03 18:16:54 UTC by duselguy