From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Jan Dubois Sent: 09 December 2010 20:00 To: gai...@visioninfosoft.com; perl-win32-users@listserv.ActiveState.com Subject: RE: does anyone know how to get a TRUE ntfs directory listing? usingPerl, or otherwise
> From: perl-win32-users-boun...@listserv.activestate.com > [mailto:perl-win32-users- > boun...@listserv.activestate.com] On Behalf Of Greg Aiken > Sent: Thursday, December 09, 2010 11:43 AM > To: perl-win32-users@listserv.ActiveState.com > Subject: does anyone know how to get a TRUE ntfs directory listing? using > Perl, or otherwise > > > > does anyone know how to; > > > > a. get a TRUE ntfs directory listing? meaning listing all of the files > > and/or directories found at any > > given directory level? > > ... > You can run `dir /a` to see files with the "system" and "hidden" attributes, > but you will still not see the > NTFS metadata entries. They cannot be manipulated at the file system level > and are rather pointless to copy > as some of their content depends on the disk geometry (think "file allocation > table"). > > There are many other things to consider though: there is file system > redirection happening when you run 32-bit > apps on 64-bit Windows, there are > "alternate data streams" on files etc. What Jan said, especially about copying, plus... Sysinternals (http://technet.microsoft.com/en-us/sysinternals/default) has some utilities that will give you info on NTFS meta data files and ADS. There is even a Perl module on CPAN (and hopefully on PPM) to help with ADS (Win32::StreamNames). HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs