RE: readir

2003-06-22 Thread Charles K. Clarkson
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

Re: readir

2003-06-21 Thread R. Joseph Newton
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

Re: readir

2003-06-21 Thread Josimar Nunes de Oliveira
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

RE: readir

2003-06-21 Thread Charles K. Clarkson
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:\/

Re: readir

2003-06-20 Thread Josimar Nunes de Oliveira
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

RE: readir

2003-06-20 Thread Charles K. Clarkson
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

Re: readir

2003-06-20 Thread Josimar Nunes de Oliveira
<[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

RE: readir

2003-06-19 Thread Dan Muey
> 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

RE: readir

2003-06-19 Thread Ronen Kfir
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 "

Re: readir

2003-06-19 Thread John W. Krahn
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

Re: readir

2003-06-19 Thread Josimar Nunes de Oliveira
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]>;

Re: readir

2003-06-19 Thread Josimar Nunes de Oliveira
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 "'

RE: readir

2003-06-19 Thread Dan Muey
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

Re: readir

2003-06-19 Thread Josimar Nunes de Oliveira
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

readir

2003-06-19 Thread Ronen Kfir
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