Sunday, October 5, 2008

Copying Files and Folders

Set fso=createobject("scripting.filesystemobject")
fso.copyfile"C:/SourceFileName.ext","c:/DestinationFile Name.ext" 'For copying a Files
fso.copyfolder "C:/SourceFolderName","C:/DestinationFolderName" ' For copying a Folders

No comments:

Post a Comment