Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Save a File Based on the Day of the WeekContent of Save a File Based on the Day of the Week.vbsMD5 Hash: 7A688B452869D64E191D464648A47962 |
||
strWeekDay = Weekday(Date)
strDay = WeekdayName(strWeekDay) strPath = "C:\Logs\" & strDay & "\Results.txt" Set objFSo = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.CreateTextFile(strPath) objFile.WriteLine "This is a test." objFile.Close | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |