[Sidefx-houdini-list] system(date) on Windows

Simon Barrick simon at primalpictures.com
Fri Apr 20 04:59:04 EDT 2007


That's insanely cunning...

-----Original Message-----
From: sidefx-houdini-list-bounces at sidefx.com
[mailto:sidefx-houdini-list-bounces at sidefx.com] On Behalf Of Ben
Schrijvers
Sent: 19 April 2007 18:12
To: sidefx-houdini-list at sidefx.com
Subject: Re: [Sidefx-houdini-list] system(date) on Windows


Oh wait... just to show I'm still crazy...
my hscript only solution:

#

opset -h off $ExportNode
opset -h on $ExportNode

set FullTime = `execute("opstat -m $ExportNode")`
set ExportTime = `arg($FullTime,5)`", "`arg($FullTime,3)`" 
"`arg($FullTime,4)`", "`arg($FullTime,6)`

#

cheers,
benS


Ben Schrijvers wrote:
> Oke so it seems there is no solution without something else being
> installed.
> I geuss if that is anything it should be Python just because that will

> probably come with Houdini 9.
> But then I'm doing all my scripts in Python anyway... hmm..
>
> cheers!
> benS
>
> Simon Barrick wrote:
>> I always use a python call
>>
>> `system("python c:/ubin/datetime.py")`
>>
>> Datetime.py
>>
>> import time
>> import sys
>> cd = time.asctime(time.gmtime(time.time()))
>> sys.stdout.write(cd + "\n")
>>
>> Si
>>
>> -----Original Message-----
>> From: sidefx-houdini-list-bounces at sidefx.com
>> [mailto:sidefx-houdini-list-bounces at sidefx.com] On Behalf Of Ben 
>> Schrijvers
>> Sent: 19 April 2007 16:50
>> To: sidefx-houdini-list at sidefx.com
>> Subject: [Sidefx-houdini-list] system(date) on Windows
>>
>>
>> Hi there,
>>
>> Does anyone know a trick to get a string containing the date+time
>> from hscript on WindowsXp OS.
>>
>> So something that would look like this on windows:
>> echo `system( date )`
>>
>> cheers,
>> benS
>>
>>
>> _______________________________________________
>> Sidefx-houdini-list mailing list Sidefx-houdini-list at sidefx.com
>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>>
>> _____________________________________________________________________
>> _
>> This communication is from Primal Pictures Ltd., a company registered

>> in England and Wales with registration No. 02622298 and registered 
>> office: 2nd Floor, Tennyson House, 159-163 Great Portland Street, 
>> London, W1W 5PA, UK. VAT registration No. 648874577.
>>
>> This e-mail is confidential and may be privileged. It may be read,
>> copied and used only by the intended recipient. If you have received 
>> it in error, please contact the sender immediately by return e-mail 
>> or by telephoning +44(0)20 7637 1010. Please then delete the e-mail 
>> and do not disclose its contents to any person.
>> This email has been scanned for Primal Pictures by the MessageLabs 
>> Email Security System.
>>
______________________________________________________________________
>> _______________________________________________
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>>
>>   
>
> _______________________________________________
> Sidefx-houdini-list mailing list Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>

_______________________________________________
Sidefx-houdini-list mailing list
Sidefx-houdini-list at sidefx.com
https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

______________________________________________________________________
This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 2nd Floor, Tennyson House, 159-163 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person.
This email has been scanned for Primal Pictures by the MessageLabs Email Security System.
______________________________________________________________________



More information about the Sidefx-houdini-list mailing list