Discussion Locked

Bat file Question

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We use a third party application at my company and I need to run an update on every workstation. This is not a microsoft product so I cant use GP and this company does not provide an .msi file.

I was thinking about adding this to the logon.bat script but I tested the install and the license agreement has to be accepted in order for the program to execute. IS there a switch I can add to a batch file to automatically say yes to the license agreement?

3 replies

by tpopoff

most installers have either a /q (quiet) or /s (silent) have you tried one of those at the tail end of the installer line of the batch file?

by robo_dev

pipe

use the pipe symbol (|) to send a y (for yes) or n (for no) to the command on the same line.

e.g. echo y|chkdsk c: /f /x

This discussion is closed to new replies.