Windows2 [Windows] 프로세스 카운트 및 종료 1234567891011121314151617181920@echo offsetlocal :: DP_MES_L3.exe 프로세스 개수 확인wmic process get CommandLine, handle, executablepath /format:csv | find /v "find.exe" | find /C "DP_MES_L3.exe" > count.txtset /p count=count.txtdel count.txt :: 프로세스가 실행 중이면 종료if %count% GTR 0 ( echo DP_MES_L3.exe 실행 중 → 종료합니다. taskkill /F /IM DP_MES_L3.exe) else ( echo DP_MES_L3.exe 실행 중이지 않음.) endlocalColo.. 2022. 3. 3. [OS, Windows] Windows cmd 명령어 (시스템 정보 추출) 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162// hostnamewmic cpu get systemname // modelwmic csproduct get name // serialwmic bios get serialnumber // oswmic os get name // os versionwmic os get version // os bitwmic os get osarchitecture // cpu ghzwmic cpu get name // real memory totalwmic computersystem get totalphysicalmemo.. 2021. 5. 3. 이전 1 다음