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



Gunnar Hjalmarsson <noreply@xxxxxxxxx> wrote in
news:659to0F2eoebqU1@xxxxxxxxxxxxxxxxxx:

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.


OK, disregard my OP: I tracked this down to a problem with Windows paths. Since that's a
completely different issue, another post coming up...
.



Relevant Pages