Information générale
Catégorie:
Fonctions Windows API
Versions des environnements
>Hi Naoto,
>
>Yes you are correct. I've checked the values of some of the local variables and found that lcCurrentDir was assigned a specific location in a program. That's the reason why it keeps copying the files in that particular folder instead to the folder where i am expecting the files to be copied
>
>As for the use of macros, some of the codes where from my clipper programs and i just copy pasted some of it to VFP and have not really changed or removed them yet :)
>
>Thanks for the help guys
>
>Sonny
You're quite welcome.
I was just passing on something I'd learned in the transition from DOS environment to Windows -- that "current directory" isn't always guaranteed to be what you think it to be. Actually the "current directory" *could* also change unexpectedly in DOS -- if you used some form of task-switcher. But since such things were generally rare, you typically didn't have to worry about "current directory" changing unexpectedly in a (non-task-switched) DOS environment.
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