RE: Get time from machine

2001-11-26 Thread Kirk W. Batzer
"net time \\machinename" Can be your local machine or a remote machine. Kirk W. Batzer [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jose Guevarra Sent: Monday, November 26, 2001 2:56 PM To: Perl-Win32-Admin Subject: Get time from

RE: Get time from machine

2001-11-26 Thread Peter Vogel
Time + date on the local (script) machine is easy: time; or, more likely useful to you: localtime(time); perldoc -f localtime perldoc -f time -Peter --- Peter A. Vogel Manager, Configuration Management Arsin Corporation, Professional Services http://www.arsin.com > -Original Message-

Get time from machine

2001-11-26 Thread Jose Guevarra
Hi, Is there a way to get the time+date of the machine the script is running on? What about time on other machines? Thanx ___ Perl-Win32-Admin mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

RE: [MULTI-BYTE MATCHING] WINMSD Information Extract (Was: RE: selecting text from file)

2001-11-26 Thread Ky-Anh Phan
Title: RE: selecting text from file Replace        s/[^\w\s\[\]\\\:]//g;   with     chop, chop;  s/.(.)/\1/g;  seems to  retain data integrity better as it replaces all double-byte character with the 2nd byte. $START = '/^\s*\[\s*System\s+Summary\s*\]\s*$/io';$END =

RE: [MULTI-BYTE MATCHING] WINMSD Information Extract (Was: RE: selecting text from file)

2001-11-26 Thread Nikko Odiseos
Title: RE: selecting text from file Perfect, works great, thanks.    Interwoven, Inc.Moving Business to the WebNikko OdiseosTechnical Support EngineerDirect Line: (408)530-7175Main Line: (408) 774-2000Email: [EMAIL PROTECTED]Web: http://www

[MULTI-BYTE MATCHING] WINMSD Information Extract (Was: RE: selecting text from file)

2001-11-26 Thread Ky-Anh Phan
Title: RE: selecting text from file Per suggestion of perlfaq ...   $START = '/^\s*\[\s*System\s+Summary\s*\]\s*$/io';$END = '/^\s*\[\s*Hardware\s+Resources\]\s*$/io';   open(WININFO,"c:/a.txt");     while () {     s/[^\w\s\[\]\\\:]//g;     next if (/^\s*$/);  $marker = 1, next  if eval

RE: selecting text from file

2001-11-26 Thread Ky-Anh Phan
Title: RE: selecting text from file Looks like it's in Unicode   Subject: RE: selecting text from file Thanks guys - what you say works generally however for some reason it fails on the output of winmsd.    .

RE: selecting text from file

2001-11-26 Thread Nikko Odiseos
Title: RE: selecting text from file No because the exact script works with the exact same text file if it is copied to another file and saved with a different name.  Very weird.   Interwoven, Inc.Moving Business to the WebNikko OdiseosTech

RE: selecting text from file

2001-11-26 Thread Timothy Johnson
Title: RE: selecting text from file Do you have to escape the ':'? -Original Message-From: Nikko Odiseos [mailto:[EMAIL PROTECTED]]Sent: Monday, November 26, 2001 3:21 PMTo: Gary MacDonald; [EMAIL PROTECTED]; [EMAIL PROTECTED]Subject: RE: selecting text from file Thanks

RE: selecting text from file

2001-11-26 Thread Nikko Odiseos
Title: RE: selecting text from file Thanks guys - what you say works generally however for some reason it fails on the output of winmsd.    But it fails on an actual file generated by winmsd - it is like the file is in another encoding or something and perl does not recognize the c

RE: Perl ppm

2001-11-26 Thread Satelle, StevenX
What errors? -Original Message- From: Sibi John [mailto:[EMAIL PROTECTED]] Sent: 26 November 2001 16:17 To: Perl (E-mail) Subject:Perl ppm hi, i am having problems connecting to the perl repositories for some reason. I am running version 2.1.5 with perl versio

Perl ppm

2001-11-26 Thread Sibi John
hi, i am having problems connecting to the perl repositories for some reason. I am running version 2.1.5 with perl version 5.6.1. I am not restricted by any firewalls or any such restrictions.. has anybody had theses problems before.. 'http://Jenda.Krynicky.cz/perl'.

RE: Need help with SplitMultis (REG_MULTI_SZ) usingWin32::TieRegistry

2001-11-26 Thread Jim Lancaster
Gary,   I get the correct result with SpiltMultis=>0 using your 2nd parsing example:   my ($Location, $MinSize, $MaxSize) = split /[\x20\x00]/, $MemKey->GetValue('PagingFiles'); print "Location = \t$Location\n";print "MinSize = \t$MinSize\n";print "MaxSize = \t$MaxSize\n"; I noti

RE: Need help with SplitMultis (REG_MULTI_SZ) usingWin32::TieRegistry

2001-11-26 Thread Jim Lancaster
Gary,   Thanks for your response.  I tried the second of your suggestions without success:   my ($Location, $MinSize, $MaxSize) = @{$MemKey->GetValue('PagingFiles')}; print "Location = \t$Location\n";print "MinSize = \t$MinSize\n";print "MaxSize = \t$MaxSize\n";   With "SplitMul

Re: "The description for event ID..." messages when using Win32::EventLog messages

2001-11-26 Thread Ryan Barton
Philip Morley wrote: >Does anyone know how to get rid of these error messages in the Event >Viewer: > >The description for Event ID (180) in Source (HELLO_WORLD) could not be >found. It contains the following insertion stirng(s): Hello, world. > >Any useful suggestions would be much appreciated.

Re: ZIP readChunk E.O.L \x0D \x0A

2001-11-26 Thread $Bill Luebkert
robert lawton wrote: > I am Currently working on a script that will read > through a list of members in a zip file, if of type > text will read through each byte of data using > "readChunk(1)" appending the data to a string until > the end of line is encountered, Uuon which it will > then do a co

ZIP readChunk E.O.L \x0D \x0A

2001-11-26 Thread robert lawton
I am Currently working on a script that will read through a list of members in a zip file, if of type text will read through each byte of data using “readChunk(1)” appending the data to a string until the end of line is encountered, Uuon which it will then do a compare. The problem arises in loc