How can I have a .bat file write to a .txt file when ran through Scripts?
I have a clunky installer that will only run when a user is logged in. I am looking for a way to track this through a .txt log file.
This is the command being ran that I am not getting output for:
ECHO %Date%,%time%,%computername%,%username%,Before - %VERIFYFILEEXISTS%,After - %AFTERVERIFYFILEEXISTS%>>"C:\IS\Logs\Log.txt"
The Log.txt file already exists on the workstation. Ideally I would want this stored on the network, but for now I just want to try and get it working locally so I know it isn't a permissions issue.