> -----Original Message-----
> From: Rice, Elizabeth A. [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 29, 2001 10:03 AM
> To: '[EMAIL PROTECTED]'
> Subject: File names on NT
>
>
> My PERL program uses the File::Find routine to find files that match a
> certain description, and then build a file that contains a
> list of these
> filenames.
>
> Later I pass that file with the list of filenames to an
> archive program,
> invoked via the system function.
>
> The File::Find puts the names into the $filetab with forward
> slashes. On
> NT, the archive program isn't prepared to handle filenames
> with forward
> slashes instead of backslashes, so says it cannot find the files.
Use the File::Spec module to handle this. It takes care of
platform-specific naming rules, and your code will be
portable.
see perldoc perlport for much more on this subject.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]