Re: Rename a file.

2005-10-26 Thread Jay Savage
On 10/26/05, Steve Bertrand <[EMAIL PROTECTED]> wrote: > > > while renaming a file I am getting below error on windows > > environment.. > > > > > > "Couldn't rename to : Permission denied Couldn't rename to : > > > Permission denied Couldn't rename to : Permission denied > > > > > > Can any bod

RE: Rename a file.

2005-10-26 Thread Steve Bertrand
> > while renaming a file I am getting below error on windows > environment.. > > > > "Couldn't rename to : Permission denied Couldn't rename to : > > Permission denied Couldn't rename to : Permission denied > > > > Can any body suggest me...how to remove this error.. > > > By making sure

Re: Rename a file.

2005-10-26 Thread Owen Cook
On Wed, 26 Oct 2005, Pant, Hridyesh wrote: > while renaming a file I am getting below error on windows environment.. > > "Couldn't rename to : Permission denied > Couldn't rename to : Permission denied > Couldn't rename to : Permission denied > > Can any body suggest me...how to remove this

Re: Rename a file.

2005-10-25 Thread Suvajit Sengupta
Hi, needs further details of the script. Regards, Suvajit Pant, Hridyesh wrote: Hi while renaming a file I am getting below error on windows environment.. "Couldn't rename to : Permission denied Couldn't rename to : Permission denied Couldn't rename to : Permission denied Can any body sugg

Rename a file.

2005-10-25 Thread Pant, Hridyesh
Hi while renaming a file I am getting below error on windows environment.. "Couldn't rename to : Permission denied Couldn't rename to : Permission denied Couldn't rename to : Permission denied Can any body suggest me...how to remove this error.. Thanks Hridyesh -- To unsubscribe, e-mail: [EM

Re: Rename a file

2003-10-24 Thread Casey West
It was Friday, October 24, 2003 when Chinku Simon took the soap box, saying: : Hi, : : Is there any inbuilt command by which we can rename a file (in WinNT) Hi there. I'd give the rename() function a shot. :-) perldoc -f rename rename OLDNAME,NEWNAME Changes the na

RE: Rename a file

2003-10-24 Thread Tim Johnson
Yes. There is a function called rename that will do just that. Go to a command prompt and type: C:\> perldoc -f rename -Original Message- From: Chinku Simon [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 9:55 AM To: [EMAIL PROTECTED] Subject: Rename a file Hi, Is th

Rename a file

2003-10-24 Thread Chinku Simon
Hi, Is there any inbuilt command by which we can rename a file (in WinNT) Regards, Chinku __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: rename a file in win98

2002-02-09 Thread John W. Krahn
Chris Zampese wrote: > > From: "John W. Krahn" <[EMAIL PROTECTED]> > > > > use File::Copy; > > > > open OLD, "< $old" or die "Cannot open '$old' $!"; > > binmode OLD; > > open NEW, "> $new" or die "Cannot open '$new' $!"; > > binmode NEW; > > copy( \*OLD, \*NEW ) or die "Cannot copy '$old' to '$n

Re: rename a file in win98

2002-02-09 Thread Chris Zampese
- Original Message - From: "John W. Krahn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 10, 2002 10:03 AM Subject: Re: rename a file in win98 > > I have also tried using File::Copy but it doesnt copy the last line of the > >

Re: rename a file in win98

2002-02-09 Thread John W. Krahn
Chris Zampese wrote: > > > From: "Chris Zampese" <[EMAIL PROTECTED]> > > > > Just wondering if anyone has any bright ideas on how to rename a file in > > Win98. I have tried the following... > > > > my $old="C:/sentslips/

Re: rename a file in win98

2002-02-09 Thread Chris Zampese
> - Original Message - > From: "Chris Zampese" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, February 10, 2002 12:57 AM > Subject: rename a file in win98 > > > Just wondering if anyone has any bright ideas on how to rename

rename a file in win98

2002-02-09 Thread Chris Zampese
Just wondering if anyone has any bright ideas on how to rename a file in Win98. I have tried the following... my $old="C:/sentslips/sentslipstemp.txt"; my $new="C:/sentslips/sentslips1.txt"; rename($old, $new); But no luck, the sctipt runs without errors (I am runnin