Click to See Complete Forum and Search --> : FileCopy


Starcraft
January 25th, 2000, 09:59 PM
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.

AndyK
January 26th, 2000, 12:10 AM
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"