Script ile Dosya silme, taşıma, kopyalama
' copySet fso = CreateObject("Scripting.FileSystemObject")Set aFile = fso.CreateTextFile(".\output.dat", True)aFile.WriteLine("1234")Set aFile = fso.GetFile(".\output.dat")aFile.Copy("./output.bak")' alternatefso.CopyFile "c:\mydir\*.*", "d:\backup\",TRUE' copy folderfso.CopyFolder "c:\mydir\*", "D:\backup\mydir\",TRUE ' deleteSet fso = CreateObject("Scripting.FileSystemObject")Set aFile = fso.GetFile(".\output.dat")aFile.Delete ' move or renameSet fso = CreateObject("Scripting.FileSystemObject")Set aFile = fso.CreateTextFile(".\output.dat", True)aFile.WriteLine("1234")Set aFile = fso.GetFile(".\output.dat")aFile.Move ".\output.ok"