![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Save a File Based on the Day of the Week
|
||
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 :: |