I need to copy a file to another location and
FileCopy App.Path & "\" & App.EXEName , "C:\k\" & App.EXEName
Does not work, but
FileCopy "C:\project1.exe", "c:\k\project1.exe"
How can I get the former to work, or atleast get it to do the same thing?
Quote from: Forged on July 29, 2004, 10:22 AM
I need to copy a file to another location and
FileCopy App.Path & "\" & App.EXEName , "C:\k\" & App.EXEName
Does not work, but
FileCopy "C:\project1.exe", "c:\k\project1.exe"
How can I get the former to work, or atleast get it to do the same thing?
App.EXEName does not include file extension.
Yeah I found that out after I tryed to do it in a textbox, thank you.
FileCopy App.Path & App.EXEName & ".exe", "c:\k\" & App.EXEName & ".exe"
works