in reply to Win32 Folder Properties

Hi,

It may be worth while looking at Win32::NetResource.

"GetUNCName( $UNCName, $LocalPath );
Returns the UNC name of the disk share connected to $LocalPath in $UNCName"

Can you get any of these details via Win32API::File or Win32::File::Summary ?
Is this is related to your recent DFS work?

Hope this helps

Martin

Replies are listed 'Best First'.
Re^2: Win32 Folder Properties
by blackadder (Hermit) on Jul 13, 2005 at 10:34 UTC
    Yes It is to do with my DFS work....Unfortunatly none of the suggestion has worked!

    Without an example of DCE::DFS then I am not sure on how to use it!

    Cheers PERLMONKS.
    Blackadder
      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
        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