Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Clear the Contents of Any File Dropped on My Script IconContent of Clear the Contents of Any File Dropped on My Script Icon.vbsMD5 Hash: AAEA165B17AE7987F8CC6B2D133A67C6 |
||
Const ForWriting = 2
Set objFSO = CreateObject("Scripting.FileSystemObject") For Each strArgument in Wscript.Arguments Set objFile = objFSO.OpenTextFile(strArgument, ForWriting) objFile.Write "" objFile.Close Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |