• Welcome to Valhalla Legends Archive.
 

Que?

Started by Forged, July 29, 2004, 10:22 AM

Previous topic - Next topic

Forged

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?
QuoteI wish my grass was Goth so it would cut itself

Spht

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.

Forged

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
QuoteI wish my grass was Goth so it would cut itself