Can anyone tell me why my script outputs this to the log?
ㄱ㠯㈯‱ㄱㄺ㨵㤰䄠्湉潦䌉䵏啐䕔乒䵁⁅›ㄱ㠯㈯‱ㄱㄺ㨹ㄱ䄠्湉潦䌉䵏啐䕔乒䵁⁅›
here is the script
on error resume next
Dim fso, oLogFile
CONST ForAppending = 8
CONST LOG_FILE_NAME = "adobeUninstall.log"
CONST LOG_Path = "\\torsrvdc1\gpo\"
Set fso = CreateObject("Scripting.FileSystemObject")
Set oLogFile = FSO.OpenTextFile(LOG_PATH & LOG_FILE_NAME, ForAppending, True)
oLogFile.WriteLine Date & " " & Time & vbTab & "Info" & vbTab & "COMPUTERNAME : " & sComputerName
Set WshShell = CreateObject("WScript.Shell")
' Uninstall Acrobat
WshShell.Run "msiexec /x {AC76BA86-1033-F400-7760-000000000005} /q",1,true
oLogFile.Close
All I am trying to do is log that the script ran ok and the details.....comp name..date and time
ㄱ㠯㈯‱ㄱㄺ㨵㤰䄠्湉潦䌉䵏啐䕔乒䵁⁅›ㄱ㠯㈯‱ㄱㄺ㨹ㄱ䄠्湉潦䌉䵏啐䕔乒䵁⁅›
here is the script
on error resume next
Dim fso, oLogFile
CONST ForAppending = 8
CONST LOG_FILE_NAME = "adobeUninstall.log"
CONST LOG_Path = "\\torsrvdc1\gpo\"
Set fso = CreateObject("Scripting.FileSystemObject")
Set oLogFile = FSO.OpenTextFile(LOG_PATH & LOG_FILE_NAME, ForAppending, True)
oLogFile.WriteLine Date & " " & Time & vbTab & "Info" & vbTab & "COMPUTERNAME : " & sComputerName
Set WshShell = CreateObject("WScript.Shell")
' Uninstall Acrobat
WshShell.Run "msiexec /x {AC76BA86-1033-F400-7760-000000000005} /q",1,true
oLogFile.Close
All I am trying to do is log that the script ran ok and the details.....comp name..date and time