Execute Batch File without Command line visible

后端 未结 3 939
故里飘歌
故里飘歌 2021-01-02 07:35

I have to run a batch file without showing the command line but the Command line keeps on popping up. This is my code:

@echo off
:SAMPLE
cd /d C:
md %RANDOM         


        
3条回答
  •  有刺的猬
    2021-01-02 08:20

    The following sample code works

    start cmd /c "some command && exit 0"
    

    The trick is => && exit 0

提交回复
热议问题