General information
Category:
Windows API functions
>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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only