Will someone please show me how to change a local file's attributes from archive to read-only and visa versa?
I image it will be a shell call into the DOS????
Also. How do I copy a file from one location into another on the same drive?
Perhaps chewck out the FileScripting Object
Dim objFSO As New Scripting.FileSystemObject
as a solution for the File Move... Check to see if file exists first then delete before move...
If objFSO.FileExists(lcFName) = True Then 'Delete existing copy!
objFSO.DeleteFile lcFName
Utilities.DelayTime 5
End If
File Scripting may also off change of attribute to read-only function, but I've never had the need to use such an option... htwh,
Steve Medvid
"IT Consultant & Web Master"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.