Join 150,156 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,370 people online right now. Registration is fast and FREE... Join Now!
Wish i had code to show, but can't even get started. I hope this was the right forum to post this in. I need to know how to perform basic file IO operations in VBScript (copy, delete, move, ect.). I have never used VBScript before, so any advice for a tutorial would be great too.
You're still going to want to use the FileSystemObject for this, that is the class that will do all of this for you (the link I offered in my original post will show all the methods available, as will this site). The modification to make from my above example is to remove the Server. in the code
vb
Dim FSO Set FSO = CreateObject("Scripting.FileSystemObject") FSO.CopyFile "C:\MyTestFile.txt", "C:\TestFolder\MyTestFile.txt" Set FSO = nothing
@jacobjordan: If you will read those two links I provided they will show all that is possible with the FileSystemObject. It's actually quite powerful and will do all of what you're looking for