Thanks John,

I have asked my client to take a look at this how ever since Bank has huge
IT procedure to access particular settings it gonna take time for them to
check and come back.

But thanks for the help

regards
Vik

On Fri, Jul 16, 2010 at 3:30 AM, John Bird <johnkb...@paradise.net.nz>wrote:

>  Also Windows will prevent deleting or renaming a file it thinks is in
> use.   Check the open files section under Control Panel/administrative
> tools.  Sometimes even if a file is not listed there windows will still
> complain about it being in use.   Examples will be any file opened for
> reading by another program, or I have seen it sometimes even when the file
> has been recently closed.   Open Office documents cannot be attached into in
> email if they are still open in the program etc.   I have always suspected
> some caching issue might be behind these oddities.
>
> If you can't rename, then plan B might be to copy the file and then
> overwrite the original.
>
> On some sites I have seen a sort of similar issue - a Copyfile  command
> might either silently fail, or might end up with the destination file having
> the current date and time on it rather than the original...Only seems to be
> an issue on certain networks, and then only sometimes.
>
> John Bird
> JBCL
> Contact:
> johnkb...@paradise.net.nz
> jbc...@xtra.co.nz
> 027 4844528
> http://jbclnz.googlepages.com
>
>  *From:* Vik Vasudev <vikas.im...@gmail.com>
> *Sent:* Friday, July 16, 2010 4:20 AM
> *To:* NZ Borland Developers Group - Delphi List <delphi@delphi.org.nz> ; NZ
> Borland Developers Group - Delphi List <del...@listserver.123.net.nz>
> *Subject:* [DUG] Rename file issue using renamefile command
>
> Hi Everyone,
>
> I am facing a problem using the rename function in delphi 6.
>
> We are using a Banking application where our client normal do End of day
> processing during end of day. During that time we process lot of file and
> rename it
>
> say for example from xyx.txt to xyx.001 and xyz.002 etc.
>
> But one of my client says he is getting error while the file getting
> renamed. I just checked all the read access rights credential and everything
> seems alright. And there is no locking too.It dont happen for him in every
> location except in one branch.
>
> I just wonder if anyone ever come across this problem since i am not able
> to figure out what could be the reason other than file rights
>
> Regards
> Vik
>
>
>  ------------------------------
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi@delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
> unsubscribe
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi@delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
> unsubscribe
>



-- 
  vikas
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to