RE: Update Windows 2000 Time via Internet-NTP-Server

2003-03-25 Thread Jonas Brømsø Nielsen
Nah, but there is an application called Tardis which does exactly that. http://www.kaska.demon.co.uk/ And there is a CPAN module: Fwctl::Services::ntp - Fwctl module to handle the NTP protocol. http://search.cpan.org/author/FRAJULAC/Fwctl-0.28/Fwctl/Services/ntp.pm Jonas -- Jonas B. Nielsen U

Re: Win32::EventLog

2003-03-25 Thread csaba . raduly
On 24/03/2003 22:24:37 perl-win32-users-admin wrote: >Hello all, > >I am having a terrible time trying to get the following script to write to a >remote EVENT LOG. What am I doing wrong? or am I going outside of the >boundaries the module is capable of? Whether local or remote it always writes >

Help with Getopt::Long

2003-03-25 Thread Subrahmanyam Vadlamani
Hi: I am trying to use Getopt::Long. I wrote a simple script and testing it. Why is the script running without me having to specify any arguments? I thought the = was so that the option is mandatory but it is not working that way. I am hoping that it will not run (so that when user runs it wit

Re: Win32::EventLog

2003-03-25 Thread alex p
I actually noticed the typo sometime after posting to this board, and replaced it with: new("Application", 'MDS-APL') Unfortunately that did not work either! Also, does anyone know if this module only allows me to write to the application log? I have tried (Locally) writing to the Security o

Regex

2003-03-25 Thread Gregory, Carlton
All, I have some code that looks like: [snip] print $toolcmd; if ($toolcmd =~ /[backup,backup last]/i) { open (loghandle, ">>" .$BK_LOGDIR . $BKLOGFILE) or die "Cannot create log file"; print "\n Updating Import Log at $BK_LOGDIR$BKLOGFILE \n"; print "\n Log Updated. \n"; print "\n W

Regex

2003-03-25 Thread Merrill Cornish
Carlton, >>> /[backup,backup last]/i In re regex, [...] creates a character class, not a list of alternatives. For alternatives, use |. /backup|backup last/i Merrill ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://lists

Printing png-files as a batch

2003-03-25 Thread Michael Steffens
Hi All, How can I print out a batch of png-files either directly from my perl script or after having them stored to the hard disk. As far as I know there is no perl module that can handle this task. I'm using the GD module on a windows 2000 platform and a HP LaserJet printer. Does anyone know a so

RE: Update Windows 2000 Time via Internet-NTP-Server

2003-03-25 Thread Gould, Kevin
C:\WINNT>net time /setsntp:ksovepdmc005 The command completed successfully. C:\WINNT>net time /querysntp The current SNTP value is: ksovepdmc005 This sets your time server and you shouldn't have to worry about it anymore. You just need to hunt down a reliable time server that you can reach. Ke

Re: Win32::EventLog

2003-03-25 Thread csaba . raduly
On 25/03/2003 14:59:21 perl-win32-users-admin wrote: >I actually noticed the typo sometime after posting to this board, and >replaced it with: >new("Application", 'MDS-APL') >Unfortunately that did not work either! >Also, does anyone know if this module only allows me to write to the >applica

Security Access question

2003-03-25 Thread Hawley, Eric
I need to be able to get the size of certain directories off of other nodes throughout our network and have a program that will be running in the users login scripts, so the user is the one actually executing the program. The problem that I am encountering is that if they do not have Administrator

[PMX:#] Retrieve the user full name from Active Directory

2003-03-25 Thread Fernando Freire Baez \(Medicare\)
Hello, I need your help. I have an script running in Windows2000 that validate the user id and password using the Win32::AuthenticateUser module, so the user enter in a text fields the userid and password and the hit submit. If the credential are ok, I need to print the user full name retrieved fr

CD burning from Perl

2003-03-25 Thread viktoras
Hi, is it possible to burn a CD-R directly from a Perl script (is there any module for this )? Thanks Viktoras ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Security Access question

2003-03-25 Thread Wiechel, Ben
Have you tried using the LogonAsUser method in Win32::AdminMisc, or using the RUNAS executable? -- Benjamin D. Wiechel Xerox Connect [EMAIL PROTECTED] Phone: 937-221-3443 Fax: 937-221-4499 Pager: 888-733-8075 / [EMAIL PROTECTED] Mobile: 513-254-7071 -Original Message- From: Hawley, Eri

RE: Security Access question

2003-03-25 Thread Hawley, Eric
no not yet, I guess I could give those a try. * Eric Hawley, Network Support Programmer * Office of Information Technology * Ohio Department of Natural Resources * Phone: (614) 265-1028 * Mailto:[EMAIL PROTECTED] > -Original Message- > From: Wiechel, Ben [m

RE: CD burning from Perl

2003-03-25 Thread JamesTillman
Neat idea. Please post a note if you find anything like that. If you can't find a perl module, I use the cygwin version of cdrecord and mkisofs. These can be had from the cygwin website: http://sources.redhat.com/cygwin/ Best of luck! jpt > -Original Message- > From: viktoras [mailto

Re: CD burning from Perl

2003-03-25 Thread viktoras
Thanks for your replies ! I found them very useful. That's what i've found on CPAN (http://search.cpan.org/author/SHERWOOD/ ): xisofs v1.3 (c) Copyright 1997 Steve Sherwood - xisofs is a Perl/Tk interface to mkisofs and cdwrite/cdrecord. It will allow y

Re: Printing png-files as a batch

2003-03-25 Thread Stephen Patterson
On 25 Mar 03, Michael Steffens ([EMAIL PROTECTED]) wrote: > Hi All, > > How can I print out a batch of png-files either directly from my perl > script or after having them stored to the hard disk. As far as I know > there is no perl module that can handle this task. I'm using the GD > module on a

Re: Printing png-files as a batch

2003-03-25 Thread Stephen Patterson
On 25 Mar 03, Stephen Patterson ([EMAIL PROTECTED]) wrote: > On 25 Mar 03, Michael Steffens ([EMAIL PROTECTED]) wrote: > > Hi All, > > > > How can I print out a batch of png-files either directly from my perl > > script or after having them stored to the hard disk. As far as I know > > there is no

Help Inline::CPP

2003-03-25 Thread Mundell, R. \(Ronald\)
Title: Help Inline::CPP Good Day All I wrote a script using Inline::CPP and made use of classes. I am now trying to instantiate a class but the compiler complains. I am including 3 files. On a module, one the test script and one that contains the errors I am receiving. If someone could look

Executing scrip through Perl dbi

2003-03-25 Thread Priyalal Abeyratne
Hi, all Hi all, I have been trying to execute some db scripts and some packagers through Perl dbi without any success. Has any one knows how to do it?. my $sth = $dbh->prepare("dbms_utility.analize."); or my $sth = $dbh->prepare("@c:\\test.sql"); $sth->execute(); Regards, Pri __

Re: Executing scrip through Perl dbi

2003-03-25 Thread Richard Morse
On Tuesday, March 25, 2003, at 04:59 PM, Priyalal Abeyratne wrote: Hi, all Hi all, I have been trying to execute some db scripts and some packagers through Perl dbi without any success. Has any one knows how to do it?. my $sth = $dbh->prepare("dbms_utility.analize."); or my $sth = $dbh->p