VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Moving file from one location to another location

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)

Moving file from one location to another location

Rate Moving 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.MoveFile "D:\text.txt", "C:\"

End Sub

'This program move the file test.txt from the  "D:\" to "C:\" 


Download this snippet    Add to My Saved Code

Moving file from one location to another location Comments

No comments have been posted about Moving file from one location to another location. Why not be the first to post a comment about Moving file from one location to another location.

Post your comment

Subject:
Message:
0/1000 characters