Thanks John,<br><br>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.<br><br>But thanks for the help<br>
<br>regards<br>Vik<br><br><div class="gmail_quote">On Fri, Jul 16, 2010 at 3:30 AM, John Bird <span dir="ltr"><<a href="mailto:johnkbird@paradise.net.nz">johnkbird@paradise.net.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="padding-left: 10px; padding-right: 10px; padding-top: 15px;" name="Compose message area">
<div><font size="2" face="Arial">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.</font></div>
<div><font size="2" face="Arial"></font>�</div>
<div><font size="2" face="Arial">If you can't rename, then plan B might be to copy
the file and then overwrite the original.</font></div>
<div><font size="2" face="Arial"></font>�</div>
<div><font size="2" face="Arial">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.</font></div>
<div><font size="2" face="Arial"></font>�</div>
<div><font size="2" face="Arial">John Bird<br>JBCL<br>Contact:<br><a href="mailto:johnkbird@paradise.net.nz" target="_blank">johnkbird@paradise.net.nz</a><br><a href="mailto:jbclnz@xtra.co.nz" target="_blank">jbclnz@xtra.co.nz</a><br>
027 4844528<br><a href="http://jbclnz.googlepages.com" target="_blank">http://jbclnz.googlepages.com</a><br></font></div>
<div style="font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<div><br></div>
<div style="background: rgb(245, 245, 245) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<div><b>From:</b> <a title="vikas.image@gmail.com" href="mailto:vikas.image@gmail.com" target="_blank">Vik Vasudev</a> </div>
<div><b>Sent:</b> Friday, July 16, 2010 4:20 AM</div>
<div><b>To:</b> <a title="delphi@delphi.org.nz" href="mailto:delphi@delphi.org.nz" target="_blank">NZ Borland Developers Group - Delphi List</a>
; <a title="mailto:delphi@listserver.123.net.nz
CTRL + Click to follow link" href="mailto:delphi@listserver.123.net.nz" target="_blank">NZ Borland Developers Group - Delphi
List</a> </div>
<div><b>Subject:</b> [DUG] Rename file issue using renamefile
command</div></div></div><div><div></div><div class="h5">
<div><br></div>Hi Everyone,<br><br>I am facing a problem using the rename
function in delphi 6. <br><br>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<br><br>say for example from xyx.txt to xyx.001
and xyz.002 etc.<br><br>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.<br><br>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<br><br>Regards<br>Vik<br clear="all"><br><br>
</div></div><p>
</p><hr><div class="im">
<p></p>_______________________________________________<br>NZ Borland Developers
Group - Delphi mailing list<br>Post: <a href="mailto:delphi@delphi.org.nz" target="_blank">delphi@delphi.org.nz</a><br>Admin:
<a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>Unsubscribe: send an email to
<a href="mailto:delphi-request@delphi.org.nz" target="_blank">delphi-request@delphi.org.nz</a> with Subject: unsubscribe</div></div>
<br>_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe<br></blockquote></div><br><br clear="all"><br>-- <br>� vikas<br>