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 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? > > 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. >
If open descriptors are an issue on Windows, make sure you don't still have it open, either. But we're just guessing here. Show us the code, and we can probably help you figure out where it's going wrong. Don't show us the code, and we probably can't. -- jay -------------------------------------------------- This email and attachment(s): [ ] blogable; [ x ] ask first; [ ] private and confidential daggerquill [at] gmail [dot] com http://www.tuaw.com http://www.dpguru.com http://www.engatiki.org values of β will give rise to dom!