by Bhuwan Chand Joshi (69 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 21st July 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Copy the file from one location to another location
'Make a reference to a Microsoft Scripting Runtime Library
Public sub Form_Load()
Dim fso As New FileSystemObject
fso.CopyFile "D:\Test.txt", "C:\"
End Sub
'This program copy a file Test.txt from the drive "D:" to "C:"