It turns out there were illegal characters in the new file name. Before I 
append the date onto the file name, I need to clean it up a bit. Thanks for the 
help, everyone.
 
Kathy

"Cintron, Jose J." <[EMAIL PROTECTED]> wrote:
If you can write to the file make sure that it's not in use by some
other process.


+------------------------------------------
| José J. Cintrón 
+------------------------------------------ 

> -----Original Message-----
> From: Katherine Richmond [mailto:[EMAIL PROTECTED] 
> Sent: Friday, November 11, 2005 10:14
> To: Cintron, Jose J.; "kathyjjja"; [email protected]
> Subject: RE: Need permissions to rename file on Windows XP
> 
> Thank you for replying. It is a log file that I can write to 
> from both Perl and VB.NET. But for some reason, I am not able 
> to rename it. My plan is to move it to a log archive 
> directory (which works) and then rename it by adding the date 
> to the name. 
> 
> Thanks,
> Kathy
> 
> 
> --- "Cintron, Jose J." wrote:
> Do you have permissions to modify this file. If you don't 
> there's not much you can do.
> 
> 
> +------------------------------------------
> | Jos$E9 J. Cintr$F3n
> +------------------------------------------
> 
> > -----Original Message-----
> > From: kathyjjja [mailto:[EMAIL PROTECTED] 
> > Sent: Friday, November 11, 2005 10:03
> > To: [email protected]
> > Subject: Need permissions to rename file on Windows XP
> > 
> > Hello everyone,
> > 
> > I am trying to rename a file like this:
> > 
> > rename($myFile, $newName);
> > 
> > The program dies there and says "Permission Denied."
> > 
> > What can I do in order to rename that file?
> > 
> > Thanks,
> > Kathy
> > 
> > 
> 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




                
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  

Reply via email to