Running a CMD or BAT in silent mode

前端 未结 11 1078
夕颜
夕颜 2020-11-28 03:51

How can I run a CMD or .bat file in silent mode? I\'m looking to prevent the CMD interface from being shown to the user.

11条回答
  •  春和景丽
    2020-11-28 04:26

    Another way of doing it, without 3rd party programs nor converters ("batch to exe" programs actually just put your batch file in the tmp folder and then run it silently so anyone can just fetch it from there an get your code) no vbs files (because nobody knows vbs) just one line at the beginning of the batch file.

    @echo off > NUL
    

提交回复
热议问题