Re: rename() fails in C:/Documents and Settings/ directories



Dmitry wrote:
I'm writing a script to automate the management of some program settings in C:\Documents and Settings\xxx\Application Data\yyy. The script needs to manipulate files in that directory: move out some files and move in others. Well, the problem is that I can move out anything I want, but using rename() I can't move in anything. The error is reported as "No such file or directory," which doesn't make sense.

<snip>

What can I do here?

Post a short but complete Perl program that illustrates the issue you are having.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
.