FileTimeToDosDateTime

2004-10-28 Thread Jeremy A
Hi Thanks for your response. I want to get the readable "Dos" date time from the cryptic CreationTime given by GetProcessTimes. The following is my code...and the output is not readable and is wrong. Thanks in advance, Jeremy A. use Win32::API; $pid = "3228"; #processid - your process id goes her

RE: question of regular expression

2004-10-28 Thread Ed Chester
i wrote, obviously with my eyes closed: > s/-x/''/; which of course should be s/-x//; - sorry! ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: question of regular expression

2004-10-28 Thread Ed Chester
> Could anyone let me know by using regular expression, how can I get rid of "-x"? If that's all you really want, and you know that's the only place it can occur, then its no problem to use just s/-x/''/; (substitute '-x' by '') ed c ___ Perl-Win32-U

question of regular expression

2004-10-28 Thread Ella Cai
I have one line like this:   $command = '$ldapsearch -x -LLL -h "cds2.ford.com" -b "ou=People, o=Ford,c=US" "uid=$login" uid fordUNIXid';   If { $command = '$ldapsearch -LLL -h "cds2.ford.com" -b "ou=People, o=Ford,c=US" "uid=$login" uid fordUNIXid'  # which -x need to remove }   Could anyone let

Win32 API -GetProcessTimes

2004-10-28 Thread Jeremy A
Hi all, I have a Win32 API problem. I want to get the creation time for a specified process. I must use "GetProcessTimes" through perl's Win32::API interface. what will the code be. This is what I found in the MSDN: -

RE: LWP help

2004-10-28 Thread Gardner, Sam
Title: Message I believe this line:   $req->content('query=libwww-perl&mode=dist');   is your problem.  Anyway, it's what apparently kills the script for me, particularly against yahoo (if I remove it and the proxy settings (which I don't need) it runs successfully for me).  Am I correct tha

RE: SID Collection

2004-10-28 Thread MJG
That did the trick. Thanks M- -Original Message- From: Adam R. Frielink [mailto:[EMAIL PROTECTED] Sent: Thursday, October 28, 2004 10:42 AM To: MJG; [EMAIL PROTECTED] Subject: RE: SID Collection > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On B

RE: LWP help

2004-10-28 Thread Lasher, Brian
4-6240(H) 281-274-2279(F)   lwp_example.pl Description: lwp_example.pl 20041028 This is libwww-perl-5.79 BASE: http://www.yahoo.com/ IS SUCCESS: CODE: 403 STATUS: 403 Forbidden CONTENT: 403 Forbidden Forbidden You don't have permission to access / on this ser

RE: SID Collection

2004-10-28 Thread Adam R. Frielink
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of MJG > Sent: Thursday, October 28, 2004 10:33 AM > To: [EMAIL PROTECTED] > Subject: RE: SID Collection > > Trying to use a simple setup for TieRegistry. Although it is readying > the keys, can't

RE: SID Collection

2004-10-28 Thread MJG
Trying to use a simple setup for TieRegistry. Although it is readying the keys, can't get it to write. Any ideas? Thanks M- use strict; use Win32 (); use Win32::TieRegistry 0.20 ( Delimiter=>"#", ArrayValues=>0 ); my $pound= $Registry->Delimiter("/"); my $UserEnv = $ENV{"USERNAME"}; my $R

RE: SID Collection

2004-10-28 Thread MJG
Thanks. Was kind of hoping to avoid WMI on this one and find a module already done. M- -Original Message- From: Anderson, Mark (Service Delivery) [mailto:[EMAIL PROTECTED] Sent: Thursday, October 28, 2004 9:17 AM To: MJG; [EMAIL PROTECTED] Subject: RE: SID Collection WMI http://www.go

RE: SID Collection

2004-10-28 Thread Anderson, Mark (Service Delivery)
WMI http://www.google.co.uk/microsoft?hl=en&q=WMI+SID+site%3Amsdn.microsoft.com&; meta= Kind regards, Mark Anderson Service Improvement Project Ground Floor, 34 Fettes Row Edinburgh, EH3 6UY Tel: 07808 826 063 > -Original Message- > From: MJG [SMTP:[EMAIL PROTECTED] > Sent: Thursday, Oc

SID Collection

2004-10-28 Thread MJG
What extensions are available for collecting SIDs? Thanks MJG ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: external library

2004-10-28 Thread Kevin Gibbs
If you trust your environment, couldn't you just set PERL5LIB to v:/utilities/perlutil? Perl should then look in there for modules with out the script needing to put anything extra in your scripts. According to the PerlRun doc this wont work if Taint checking is on. Kev. -Original Message-