in reply to Re^2: Win32 Folder Properties
in thread Win32 Folder Properties

Hi,

Without looking back at everything you have done, have you read DCE::DFS? The methods are listed here.
Failing that perhaps use google and look for an example, surely (dont call me Surely) someone else out there has done something like this before.

Hope this helps

Martin

Replies are listed 'Best First'.
Re^4: Win32 Folder Properties
by blackadder (Hermit) on Jul 13, 2005 at 11:47 UTC
    Here is all what I have done
    use strict; use Win32; use Win32::ODBC; use File::Find; use File::stat; use File::Spec; use Time::localtime; system("cls"); my $start_time = ctime(); print "\nStart Time: $start_time\n\n"; print "Full Path,Size (Byte),Created,Modified,Accessed,File Name,Type\ +n"; find(\&wanted, @ARGV); sub wanted { return unless -f; my $sb = stat ($File::Find::name); my $ct ||= localtime $sb->ctime; my $mt ||= localtime $sb->mtime; my $at ||= localtime $sb->atime; my $size = $sb->size; my ($volume,$directories,$file) = File::Spec->splitpath($File::Fin +d::name); my $ext = $file; $ext =~ s/\.(.+)$//; printf "%s,%s,%02d/%02d/%02d,%02d/%02d/%02d,%02d/%02d/%02d,%s,%s\n +", $File::Find::name, $sb->size, $ct->mon()+1,$ct->mday(),$ct->year %100, $mt->mon()+1,$mt->mday(),$mt->year %100, $at->mon()+1,$at->mday(),$at->year %100, $file,$1 } my $end_time = ctime(); print "\nEnd Time: $end_time\n";
    Does this help?...Cheers.

    Google search didnot return any examples (just docs!!!!).
    Blackadder