RE: File Creator under WIN32 environment

2007-08-23 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Rob Dixon [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 23, 2007 03:38 > To: beginners@perl.org > Cc: Wagner, David --- Senior Programmer Analyst --- WGO > Subject: Re: File Creator under WIN32 environment > > David Wagner wrote:

Re: File Creator under WIN32 environment

2007-08-23 Thread Rob Dixon
David Wagner wrote: Need to get the individual who created the file I am looking at. I am using File::Find to get all files that are 4 days or younger. I can get all info: Path, file name, file size, date modified easily except owner. I have looked at the Perl doc ( using AS 5.8.8 build

Re: File Creator under WIN32 environment

2007-08-22 Thread Chas Owens
On 8/22/07, Bob McConnell <[EMAIL PROTECTED]> wrote: snip > > use constant READ_ONLY => 1; > > use constant ARCHIVED => 2; > > use constant HIDDEN => 4; > > I believe the fourth flag is SYSTEM. Is there a value for that? snip Those flags and their values were made up on the spot; any relation betw

RE: File Creator under WIN32 environment

2007-08-22 Thread Bob McConnell
> -Original Message- > From: Chas Owens [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 22, 2007 3:14 PM > To: Gunnar Hjalmarsson > Cc: beginners@perl.org > Subject: Re: File Creator under WIN32 environment > > On 8/22/07, Gunnar Hjalmarsson <[EMAIL PR

Re: File Creator under WIN32 environment

2007-08-22 Thread Chas Owens
On 8/22/07, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote: > Wagner, David --- Senior Programmer Analyst --- WGO wrote: > > Any insights would be greatly appreciated on getting owner of a > > file under Win32. > > There is a Win32::File module with a GetAttributes() function. Sounds > promisin

Re: File Creator under WIN32 environment

2007-08-22 Thread Paul Lalli
On Aug 22, 2:11 pm, [EMAIL PROTECTED] (Gunnar Hjalmarsson) wrote: > Wagner, David --- Senior Programmer Analyst --- WGO wrote: > > >Any insights would be greatly appreciated on getting owner of a > > file under Win32. > > There is a Win32::File module with a GetAttributes() function. Sounds > p

Re: File Creator under WIN32 environment

2007-08-22 Thread yitzle
On 8/22/07, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote: > Wagner, David --- Senior Programmer Analyst --- WGO wrote: > > Any insights would be greatly appreciated on getting owner of a > > file under Win32. > > There is a Win32::File module with a GetAttributes() function. Sounds > promisin

Re: File Creator under WIN32 environment

2007-08-22 Thread Gunnar Hjalmarsson
Wagner, David --- Senior Programmer Analyst --- WGO wrote: Any insights would be greatly appreciated on getting owner of a file under Win32. There is a Win32::File module with a GetAttributes() function. Sounds promising, doesn't it? However, reading the docs for that module makes me

Re: File Creator under WIN32 environment

2007-08-22 Thread Paul Lalli
On Aug 22, 1:01 pm, [EMAIL PROTECTED] (Yitzle) wrote: > I have no idea how file ownership works under Windows, but the built > in Perl command 'stat' [1] returns the "numeric user ID of file's > owner". Don't know if this helps you at all... It doesn't. Under Win32, uid and gid are both 0. Paul

Re: File Creator under WIN32 environment

2007-08-22 Thread yitzle
I have no idea how file ownership works under Windows, but the built in Perl command 'stat' [1] returns the "numeric user ID of file's owner". Don't know if this helps you at all... [1] http://perldoc.perl.org/functions/stat.html -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman