>>I am getting an error, but only when I log as a regular user (and if I try to copy into ProgramData\MyApp\MySubDir). I do have read-write rights in the MyApp\ directory as this is what I also tested.
>>
>>I'm getting the error in the application - if I try to do this from the command window I am also getting a prompt.
>
>Is it possible that in the program when you specify the name of the folder you have spaces in the folder name?
No, the lcFile does not have spaces in the name, although I don't see why it's relevant here as I use (lcFile), so even if I do have spaces, the name expression should take care of that.
If it's not broken, fix it until it is.
My Blog