May 14, 2004 #1 Dan688 Programmer Dec 29, 2003 128 GB Hi all, Need some code help! Reading in a file but when EOF is reached and I close the file I want to rename it from .txt to .ren Any Ideas?
Hi all, Need some code help! Reading in a file but when EOF is reached and I close the file I want to rename it from .txt to .ren Any Ideas?
May 14, 2004 1 #2 noogle Programmer May 14, 2004 8 GB use the function FileCopy("C:\sourcefile.txt","C:\destfile.ren") does that make sense? Noogle Upvote 0 Downvote
May 14, 2004 1 #3 mattKnight Programmer May 10, 2002 6,230 GB Or maybe better look at the Name statement. If you do use the the filecopy statement as above, don't forget to delete the original file! Take Care Matt If at first you don't succeed, skydiving is not for you. Upvote 0 Downvote
Or maybe better look at the Name statement. If you do use the the filecopy statement as above, don't forget to delete the original file! Take Care Matt If at first you don't succeed, skydiving is not for you.
May 14, 2004 Thread starter #4 Dan688 Programmer Dec 29, 2003 128 GB Can you expand on that a little! I tried searching the Help file for it with know luck! Upvote 0 Downvote
May 14, 2004 #5 mattKnight Programmer May 10, 2002 6,230 GB Open up your copy of MSDN and use the index tab. If you enter name st, you should find teh command as the first listed. or you could check the MSDN website and search for "Name Statement" (and don't forget that these commands are actually VBA) or follow the link Take Care Matt If at first you don't succeed, skydiving is not for you. Upvote 0 Downvote
Open up your copy of MSDN and use the index tab. If you enter name st, you should find teh command as the first listed. or you could check the MSDN website and search for "Name Statement" (and don't forget that these commands are actually VBA) or follow the link Take Care Matt If at first you don't succeed, skydiving is not for you.