• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Microsoft's Scripting Engine ... > FileSystemObject.CopyFile()

FileSystemObject.CopyFile()

JScript3.0+Syntax

							filesystemobject.CopyFile(source, destination, overwrite)

Description

The CopyFile() method is used to copy one or more files to a specified directory. This method takes three parameters. The first parameter, source, is a string specifying source path and filename from which to copy. The second parameter, destination, is a string specifying destination path a filename to which to copy. The final parameter, overwrite, is a Boolean value indicating whether to overwrite an existing file or not.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint