StewartTechnologies
asked on
How to code in auto "yes" response in .bat script.
Hello-
I am writing a basic windows .bat file to stop a network share. It is asking for a y/n and enter input before it can stop the share.
e.g net share folder \\server /delete
How do i code in the "yes" to automatically complete my program without manual input.
Note: The script will be a scheduled task, so it needs to auto run without manual input.
I am writing a basic windows .bat file to stop a network share. It is asking for a y/n and enter input before it can stop the share.
e.g net share folder \\server /delete
How do i code in the "yes" to automatically complete my program without manual input.
Note: The script will be a scheduled task, so it needs to auto run without manual input.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER