Re: Renaming a File in Win32.

2002-07-29 Thread Connie Chan
If you are using a Apache server on Win32, the log file will be LOCKED during its running. So you cannot rename, unlink or open for edit on it. you can only open it for read only. Maybe you can copy, I don't know. rename ($file, $newfile) or die ".. $!"; # may help to see what's the problem

Renaming a File in Win32.

2002-07-29 Thread Denham Eva
Hello Listers, Could someone answer this for me please, I have written a script to rename a logfile (text file). I have used the rename function - but the documentation warns of issues depending on OS patform and then links to Win32:Copyfile and mentions having to unlink yourself. This is all fin