Information générale
Catégorie:
Codage, syntaxe et commandes
Yeah, that's pretty much what shellexecute does, except you can hide it better, that's all.
Kev
>Yo I just got it, just use RUN to execute the DOS command, thanks :)
>
>>Try copying your file using ShellExecute, this way it will be Windows doing the copying rather than your FoxPro app.
>>
>>Do you need more info on shellExecute?
>>
>>Kev
>>
>>>Hi,
>>>
>>>I'm using "Copy File MyProg.exe to \OtherFolder\MyProg2.exe"
>>>
>>>Jimi
>>>
>>>>What command are you using to copy the file, are you using ShellExecute?
>>>>
>>>>Kev
>>>>
>>>>>hello everybody,
>>>>>
>>>>>I'm running a program MyProg.exe. I want the program to copy itself to another directory, but Copy File refused to copy a file which is opened. I can still copy the file in window explorer so I think it should be possible. Do anyone have any idea, such that I can make the program copy itself away?
>>>>>
>>>>>Thanks very much!
>>>>>Jimi
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement