where.md 684 B

where

๊ฒ€์ƒ‰ ํŒจํ„ด๊ณผ ์ผ์น˜ํ•˜๋Š” ํŒŒ์ผ์˜ ์œ„์น˜๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ๋ณธ์ ์œผ๋กœ ํ˜„์žฌ ์ž‘์—… ๋””๋ ‰ํ† ๋ฆฌ์™€ PATH ํ™˜๊ฒฝ ๋ณ€์ˆ˜์˜ ๊ฒฝ๋กœ๋ฅผ ํด๋”๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. ๋” ๋งŽ์€ ์ •๋ณด: https://learn.microsoft.com/windows-server/administration/windows-commands/where.

  • ํŒŒ์ผ ํŒจํ„ด์˜ ์œ„์น˜ ํ‘œ์‹œ:

where {{ํŒŒ์ผ_ํŒจํ„ด}}

  • ํŒŒ์ผ ํฌ๊ธฐ์™€ ๋‚ ์งœ๋ฅผ ํฌํ•จํ•˜์—ฌ ํŒŒ์ผ ํŒจํ„ด์˜ ์œ„์น˜ ํ‘œ์‹œ:

where /T {{ํŒŒ์ผ_ํŒจํ„ด}}

  • ์ง€์ •๋œ ๊ฒฝ๋กœ์—์„œ ํŒŒ์ผ ํŒจํ„ด์„ ์žฌ๊ท€์ ์œผ๋กœ ๊ฒ€์ƒ‰:

where /R {{๊ฒฝ๋กœ\๋Œ€์ƒ\ํด๋”}} {{ํŒŒ์ผ_ํŒจํ„ด}}

  • ํŒŒ์ผ ํŒจํ„ด์˜ ์œ„์น˜์— ๋Œ€ํ•œ ์˜ค๋ฅ˜ ์ฝ”๋“œ๋ฅผ ์ž๋™์œผ๋กœ ๋ฐ˜ํ™˜:

where /Q {{ํŒŒ์ผ_ํŒจํ„ด}}