Dec 14, 2004 #1 Ronze55 MIS Jul 9, 2004 54 US Hi everyone, I would like to change a flat file (*.in) to a *.txt. I thought I could use the process object but I'm pretty sure I am wrong. any suggestions? thanks Ronze
Hi everyone, I would like to change a flat file (*.in) to a *.txt. I thought I could use the process object but I'm pretty sure I am wrong. any suggestions? thanks Ronze
Dec 14, 2004 Thread starter #2 Ronze55 MIS Jul 9, 2004 54 US thanks for taking the time to look into this message, i ended up using this strNewFile = Mid(e.FullPath, 1, InStr(e.FullPath, ".")) & "txt" System.IO.File.Copy(e.FullPath, strNewFile) System.IO.File.Delete(e.FullPath) Upvote 0 Downvote
thanks for taking the time to look into this message, i ended up using this strNewFile = Mid(e.FullPath, 1, InStr(e.FullPath, ".")) & "txt" System.IO.File.Copy(e.FullPath, strNewFile) System.IO.File.Delete(e.FullPath)
Dec 14, 2004 #3 Becks25Not Programmer Jun 23, 2004 176 US Check out: Code: System.IO.Path.ChangeExtension(Path,NewExt) Upvote 0 Downvote
Dec 14, 2004 #4 ThatRickGuy Programmer Oct 12, 2001 3,841 US oh and take a gander at: Code: System.Threading.Patience(5, "Minutes") -Rick ---------------------- http://www.ringdev.com Upvote 0 Downvote
oh and take a gander at: Code: System.Threading.Patience(5, "Minutes") -Rick ---------------------- http://www.ringdev.com