how do i copy the exe file to a location like:
filecopy app.path, "C:\WINDOWS\All Users\Desktop\whatever.exe"
but that doesn't seem to work, because i am going this so the user can copy the file where ever he downloaded it to.
Printable View
how do i copy the exe file to a location like:
filecopy app.path, "C:\WINDOWS\All Users\Desktop\whatever.exe"
but that doesn't seem to work, because i am going this so the user can copy the file where ever he downloaded it to.
First of all, your app.path is something like "C:\windows\desktop" without file name so you need to change it to app.path + "\appname.exe"
Second is that you trying to copy to an invalid location....you can't copy to a file, you can only copy to a folder or drive...Example: "C:\WINDOWS\All Users\Desktop"