Home > Archive > MS Access Multiuser > May 2005 > Rename a text file









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Rename a text file
Julia

2005-05-17, 3:24 am

Hi,
My Access app reads a text file. After I have read it I would like to rename
it. Is it possible and how do I do it in code?

Thanks
Julia
Alex White MCDBA MCSE

2005-05-17, 3:24 am

Hi Julia,

Name "c:\myold.txt" As "c:\mynew.txt"

should do the trick close the file before the rename.


--
Regards

Alex White MCDBA MCSE
http://www.intralan.co.uk

"Julia" <Julia@discussions.microsoft.com> wrote in message
news:11E3E1B6-08AC-4085-8DD1- 5984CA000B05@microso
ft.com...
> Hi,
> My Access app reads a text file. After I have read it I would like to
> rename
> it. Is it possible and how do I do it in code?
>
> Thanks
> Julia



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com