cmd.md 792 B

cmd

Windows ๋ช…๋ น ์ธํ„ฐํ”„๋ฆฌํ„ฐ. ๋” ๋งŽ์€ ์ •๋ณด: https://learn.microsoft.com/windows-server/administration/windows-commands/cmd.

  • ๋Œ€ํ™”ํ˜• ์…ธ ์„ธ์…˜ ์‹œ์ž‘:

cmd

  • ํŠน์ • [c]ommands ์‹คํ–‰:

cmd /c {{echo Hello world}}

  • ํŠน์ • ์Šคํฌ๋ฆฝํŠธ ์‹คํ–‰:

cmd {{๊ฒฝ๋กœ\๋Œ€์ƒ\script.bat}}

  • ํŠน์ • ๋ช…๋ น์„ ์‹คํ–‰ํ•œ ํ›„ ๋Œ€ํ™”ํ˜• ์…ธ๋กœ ์ง„์ž…:

cmd /k {{echo Hello world}}

  • ๋ช…๋ น ์ถœ๋ ฅ์—์„œ echo๊ฐ€ ๋น„ํ™œ์„ฑํ™”๋œ ๋Œ€ํ™”ํ˜• ์…ธ ์„ธ์…˜ ์‹œ์ž‘:

cmd /q

  • ์ง€์—ฐ๋œ [v]ariable ํ™•์žฅ์ด ํ™œ์„ฑํ™” ๋˜๋Š” ๋น„ํ™œ์„ฑํ™”๋œ ๋Œ€ํ™”ํ˜• ์…ธ ์„ธ์…˜ ์‹œ์ž‘:

cmd /v:{{on|off}}

  • ๋ช…๋ น [e]xtensions๊ฐ€ ํ™œ์„ฑํ™” ๋˜๋Š” ๋น„ํ™œ์„ฑํ™”๋œ ๋Œ€ํ™”ํ˜• ์…ธ ์„ธ์…˜ ์‹œ์ž‘:

cmd /e:{{on|off}}

  • [u]nicode ์ธ์ฝ”๋”ฉ์„ ์‚ฌ์šฉํ•˜๋Š” ๋Œ€ํ™”ํ˜• ์…ธ ์„ธ์…˜ ์‹œ์ž‘:

cmd /u