How do I run two commands in one line in Windows CMD?

后端 未结 19 1367
伪装坚强ぢ
伪装坚强ぢ 2020-11-22 00:45

I want to run two commands in a Windows CMD console.

In Linux I would do it like this

touch thisfile ; ls -lstrh

How is it done on

19条回答
  •  春和景丽
    2020-11-22 01:04

    Use & symbol in windows to use command in one line

    C:\Users\Arshdeep Singh>cd Desktop\PROJECTS\PYTHON\programiz & jupyter notebook
    

    like in linux we use,

    touch thisfile ; ls -lstrh
    

提交回复
热议问题