Josimar Nunes de Oliveira <[EMAIL PROTECTED]> wrote:
:
: Hello Clarkson,
: Thanks for everything you explained.
You're welcome.
: The 'System Volume Information' is a restricted system folder
: (only SYSTEM can access) in NTFS.
I don't know much about win 2k. That file may
be inaccess
Ronen Kfir wrote:
> Hi,
>
> This is not I was asking for!
> I'll explain again:
> 1. Find all the places where a one specific file (with same name), is shown by read
> recursively all subdir of certain directory (it is a trigger file for the rest of my
> program). What you wrote is only the top
es de Oliveira'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, June 21, 2003 6:58 AM
Subject: RE: readir
> Josimar Nunes de Oliveira <[EMAIL PROTECTED]> wrote:
> :
> : My O.S. is w2k and I put the argument 'C:\\' to run;
>
> You
Josimar Nunes de Oliveira <[EMAIL PROTECTED]> wrote:
:
: My O.S. is w2k and I put the argument 'C:\\' to run;
You don't have to use "C:\\". "C:/" is preferred.
: then a message is
: displayed:
:
: C:\Documents and Settings\Administrador\Desktop>perl filefind.pl
: Can't opendir(c:\/
tion?
Other thing that seems to be basic in perl, but how to print the list
obtained from File::Find, like a for/foreach/while ?
Thanks,
Josimar
- Original Message -
From: "Charles K. Clarkson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, Ju
Josimar Nunes de Oliveira <[EMAIL PROTECTED]> wrote:
: use File::stat;
:
: listfiles( 'C:' );
:
: #
: for($i=0;$i<$count;$i++){
: print "\n", $allfiles[$i][0], ' => ', $allfiles[$i][1];
: }
: #
:
: sub listfiles{
: my $folder = shift;
: $folder .= '\\';
: opendir ( my $media, $folder );
: m
<[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 19, 2003 5:08 PM
Subject: RE: readir
Hi,
This is not I was asking for!
I'll explain again:
1. Find all the places where a one specific file (with same name), is shown
by read recursively all subdir of certain direc
> Hi,
Howdy
>
> This is not I was asking for!
> I'll explain again:
> 1. Find all the places where a one specific file (with same
> name), is shown by read recursively all subdir of certain
> directory (it is a trigger file for the rest of my program).
> What you wrote is only the top level
r: 972-55-405910
E-mail: [EMAIL PROTECTED]
-Original Message-
From: Josimar Nunes de Oliveira [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 6:21 PM
To: Ronen Kfir; [EMAIL PROTECTED]
Subject: Re: readir
Hi, try this sample code:
$dir = 'C:\\Folder\\.';
print "
ories (this file will be a
> trigger to continue of the process). Then I want to define a few
> variables respectively to the number of files found in readir that
> will define the path of those files. Then conditioned to each path
> the readdir found, pick up some other file from that
The '@files' gets a list of files from 'readir $dir';
if you don“t need it, cut it out and make how you want.
Josimar
- Original Message -
From: "Josimar Nunes de Oliveira" <[EMAIL PROTECTED]>
To: "Dan Muey" <[EMAIL PROTECTED]>;
PROTECTED]>; "Ronen Kfir"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, June 19, 2003 12:24 PM
Subject: RE: readir
Just niticed a couple things, no biggie but:
> Hi, try this sample code:
>
> $dir = 'C:\\Folder\\.';
>
> print "'
Just niticed a couple things, no biggie but:
> Hi, try this sample code:
>
> $dir = 'C:\\Folder\\.';
>
> print "'\n", $dir;
Do you mean print "\n" without the single quote next to the newline ?
>
> opendir DIR, $dir or die "Cannot open $dir: $!";
>
> foreach (@files=readdir DIR){
What is @fi
Kfir" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 19, 2003 5:18 AM
Subject: readir
Hi,
I want to use readdir to read a directory tree & find a certain file, which
might be present in many subdirectories (this file will be a trigger to
continue of the process
Hi,
I want to use readdir to read a directory tree & find a certain file, which might be
present in many subdirectories (this file will be a trigger to continue of the
process). Then I want to define a few variables respectively to the number of files
found in readir that will define the
15 matches
Mail list logo