Home > Archive > PERL Beginners > October 2005 > Rename a file.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Hridyesh Pant 2005-10-26, 3:57 am |
| 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
| |
| Suvajit Sengupta 2005-10-26, 3:57 am |
| 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 suggest me...how to remove this error..
>
>Thanks
>Hridyesh
>
>
>
| |
| Owen Cook 2005-10-26, 3:57 am |
|
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 error..
By making sure you have permission to do the renaming.
What are the permissions on the files? And who owns them?
Owen
| |
| Steve Bertrand 2005-10-26, 6:56 pm |
| > > while renaming a file I am getting below error on windows
> environment..
>
>
> By making sure you have permission to do the renaming.
>
> What are the permissions on the files? And who owns them?
I don't do any Windows development, so correct me if I'm wrong, but I
think this error could happen if the file is in use as well. Ensure the
file you are trying to mv (rename) is not open by any other application.
Steve
>
>
>
> Owen
>
>
>
>
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org For
> additional commands, e-mail: beginners-help@perl.org
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
>
|
|
|
|
|