I have a script that see's if a string is installed then reports back to a text file so I know how many installs completed successfully. This is the script I am using
"\\server\share\folder\filever.exe" "C:\Program files (x86)\MS Office\file.dll" |findstr "xxxxx"
if %errorlevel% EQU 0 (
echo %computername% %date% %time% Software Installed >> "\\server\share\text_file_to_report_in.txt"
1. So is this the best way to run this, it is currently working fine but I am new to scripting and want to use "Best Practices"
2. How do I get this to run on all computer's, startup script or is there another way to send it out to report back to the text file?
3. If I send it out will all the computers be trying to write to the text file at the same time and kill everything?
Thanks in advance for the help.