how to create every day at 12 am new log file with current date VBScript -


strfilename1 = "d:\log.txt" strcontent = "" & & space(2) & dir & vbcr & vblf  set objfs = createobject("scripting.filesystemobject") set objlogs = objfs.opentextfile(strfilename1, forappending, true)  objlogs.writeline(strcontent) objlogs.close 


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -