When I use *.file extension as the source file to copy I don't have a problem, however if I try to specify a specific file name (e.g. test.txt) I get a Runtime Error 800A0046 - Permission Denied. Anyone have any ideas as to what I'm doing wrong??
Otherwise it's assumed to be a file name (which is what cause the "Permission denied" error since it
already exists as a folder name) unless it ends with "\".
It's not an issue when the source includes wildcards - there the target MUST be a folder even if the
name doesn't end with "\".
--
Michael Harris
Microsoft.MVP.Scripting
--
"Heath Gregg" <Heath...@zurich.com.au> wrote in message news:3A022188...@zurich.com.au...
Thanks
My Problem was, that I had forgotten to close all files before I tried to
move them.
regards
Bernd
"Heath Gregg" <Heath...@zurich.com.au> schrieb im Newsbeitrag
news:3A022188...@zurich.com.au...