KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How can I copy a file from one folder to another using VBScript? I had tried this below one from the information provide on the internet: dim filesys set filesys=CreateObject("Scripting.FileSystemObject") If filesys.FileExists("c:\sourcefolder\anyfile.txt") Then filesys.CopyFile "c:\sourcefolder\anyfile.txt", "c:\destfolder\" When I execute this, I get a 'permission denied' error.
Tags (comma-separated)
Save Edits
Cancel