We have been using perl (ActiveState 5.8.6) on Windows 2000 PCs for a year 

or so.  Recently the PC techs replaced W 2000 with Windows XP Pro on one 
of my PCs.  Most perl functionality still works, but one key operation in 
our main program now fails.

The program prompts the user for the name of a data folder, and then 
prompts for the name of a target folder.  It then creates an appropriately 

named subfolder of the target folder, and moves the data folder into the 
new subfolder.  This has worked fine with Windows 2000 for the last 6 
months.

But this operation fails on the XP Pro machine:  the program is able to 
create the subfolder of the target folder, but then everything stops 
because the program does not have permission to move the data folder into 
it.  The subfolder created by the program seems fine because I can move 
the data folder into it by hand  ---  there are no permission problems for 

me, just for the program.

And since the details probably matter:  the subfolder of the target folder 

is created with the statement "mkdir($target_folder_name, 0777);",  and 
the data folder is moved using the "rename" function.

Any ideas on why "rename" now fails, and on how to fix the problem?  I 
have already reinstalled perl, but that did not help.

Thanks,
Walt Poor

Reply via email to