
Copy a file in a folder and past the copy in another folder
set fso=createobject("scripting.filesystemobject")
fso.copyfile "C:\Folder1\File.txt", "C:\Folder1\"
there are other attributes if you want to change the name, overwrite the
existing file, copying sets. If you need any of those attributes, tons of
examples are on microsoft's script center, google searches, or post back.
Quote:
> Hi everybody,
> How is it possible to copy a file from a folder and past the copy in
> another folder.
> If anybody would have a Sourcesnippet that would be great.
> thanks in advance
> David