VBScripting (.vbs) Basic tutorial on how to create and delete files and folders.
Code Example:
______________________________________________________
Option Explicit
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
fso.CreateTextFile "C:\Users\Jeremy\Desktop\test.docx"
fso.CreateFolder "C:\Users\Jeremy\Desktop\test"
wscript.sleep 6000
fso.DeleteFile "C:\Users\Jeremy\Desktop\test.docx"
fso.DeleteFolder "C:\Users\Jeremy\Desktop\test"
________
آی-ویدئو