리눅스에서는 clear;ls;clear 식으로 하면되는데
MS 에서는 &로 하면되고
&&는 앞이 정상종료면 뒤를 수행하는 식이군
Using multiple commands and conditional processing symbolsYou can run multiple commands from a single command line or script using conditional processing symbols. When you run multiple commands with conditional processing symbols, the commands to the right of the conditional processing symbol act based upon the results of the command to the left of the conditional processing symbol. For example, you might want to run a command only if the previous command fails. Or, you might want to run a command only if the previous command is successful. You can use the special characters listed in the following table to pass multiple commands.
|
[링크 : https://www.microsoft.com/.../ntcmds_shelloverview.mspx?mfr=true]
[링크 : https://stackoverflow.com/.../how-do-i-run-two-commands-in-one-line-in-windows-cmd]
[링크 : https://social.technet.microsoft.com/.../864c262b-13b9-4771-94ca-76e63866d59a/]
'Microsoft > Windows' 카테고리의 다른 글
윈도우 단축키 (0) | 2017.12.23 |
---|---|
win10 UEFI fastboot 설치 (0) | 2017.12.06 |
아 망할 COEM 라이센스 (0) | 2017.11.21 |
7세대 인텔 cpu 와 윈7 업데이트.. -_-? (0) | 2017.11.07 |
윈도우 시작시 StartProcessAsCurrentUser:GetSessionUserToken failed. (0) | 2017.11.05 |