Dec 1, 2003 #1 werjocks Programmer Oct 27, 2003 24 US VBscripts don't seem to carry the FileCopy command from Visual Basic. Is there a simple alternative for backing up a file?
VBscripts don't seem to carry the FileCopy command from Visual Basic. Is there a simple alternative for backing up a file?
Dec 1, 2003 #2 DanaHallenbeck IS-IT--Management Sep 27, 2000 63 US Set Filesys = CreateObject("scripting.filesystemobject" Filesys.CopyFile(<path & filename>, <path & filename>, True) The "True" at the end tells it to replace the destination file if it exists...obviously "False" does just the opposite. Dana Hallenbeck Upvote 0 Downvote
Set Filesys = CreateObject("scripting.filesystemobject" Filesys.CopyFile(<path & filename>, <path & filename>, True) The "True" at the end tells it to replace the destination file if it exists...obviously "False" does just the opposite. Dana Hallenbeck
Dec 1, 2003 Thread starter #3 werjocks Programmer Oct 27, 2003 24 US thankyou very much Upvote 0 Downvote