VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Files and Folders

by subbu (3 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 18th March 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Files and Folders

Rate Files and Folders




'To copy folder
fs.CopyFolder "c:\test","c:\subbu\test"

'To move folder
fs.MoveFolder "c:\test","c:\subbu\test"

'To DeleteFile
fs.DeleteFile "c:\test.txt"

'To CreateFile
fs.CreateTextFile "c:\test.txt"

'To check for existence
'return value if true if exists or false 
fs.FileExists "c:\test.doc"

fs.FolderExists "c:\subbu"



Download this snippet    Add to My Saved Code

Files and Folders Comments

No comments have been posted about Files and Folders. Why not be the first to post a comment about Files and Folders.

Post your comment

Subject:
Message:
0/1000 characters