![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Clear the Contents of Any File Dropped on My Script Icon
|
||
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 :: |