We help IT Professionals succeed at work.

on
I am trying to write a batch file.  Where I am stuck is, how to answer Yes in the batch file.

cd c:\program files\windows resource kits\tools
delprof.exe      /D:1      /C:\\computername
Comment
Watch Question

## View Solution Only

Commented:
Have you tried the /q and /i switches at the end of your command, the i will ignore errors the q will make it work in quiet mode.

Commented:
delprof.exe      /D:1      /C:\\computername /Q

will do the job. Thanks