본문 바로가기
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
배치파일
2016.12.31 14:57

systeminfo_to_info

조회 수 405

c:
cd\
cls


for /f "tokens=1-2 delims=:" %%a in ('ipconfig^|find "IPv4"') do set ip=%%b
set ip=%ip:~1%

for /F "tokens=2 delims==" %%s in ('wmic bios get serialnumber /value') do set sn=%%s

echo IP address : %ip%

echo Computer Serical Number : %sn%

set file=\\192.168.4.157\samba\OA_Administrator\_System_info\%ip%_%sn%.txt

set file4=\\192.168.4.157\samba\OA_Administrator\_System_info\%ip%_%sn%_cpu.txt

set file2=C:\%ip%_%sn%.txt


timeout 15


wmic bios get serialnumber > %file%

wmic computersystem get "Model","Manufacturer" >> %file%

wmic computersystem get "Name", "UserName" >> %file%

wmic cpu get name >> %file%

wmic PATH Win32_PhysicalMemory  get capacity >> %file%

wmic os get name >> %file%

wmic os get installdate >> %file%

wmic nicconfig get ipaddress,caption >> %file%

wmic nicconfig get macaddress,caption >> %file%

 

C:\Windows\Temp\cpuz\cpuz.exe -txt=%file4%

 

wmic bios get serialnumber > %file2%

wmic computersystem get "Model","Manufacturer" >> %file2%

wmic computersystem get "Name", "UserName" >> %file2%

wmic cpu get name >> %file2%

wmic PATH Win32_PhysicalMemory  get capacity >> %file2%

wmic os get name >> %file2%

wmic os get installdate >> %file2%

wmic nicconfig get ipaddress,caption >> %file2%

wmic nicconfig get macaddress,caption >> %file2%


timeout 15

cls

exit


  1. CASZONE X-TOOLS Add-On v1.6.3

  2. CASZONE X-TOOLS v4.8.2

  3. 날자별 파일별 묶음 배치파일 소스

  4. systeminfo_to_info_COMPUTERNAME

  5. systeminfo_to_tel

  6. systeminfo_to_vbs

  7. systeminfo_to_winup

  8. systeminfo_to_sw

  9. No Image 31Dec
    by 관리자
    2016/12/31 in 배치파일
    Views 405 

    systeminfo_to_info

  10. systeminfo_to_services

  11. systeminfo_to_power

  12. systeminfo_to_pc

  13. systeminfo_to_samba

  14. No Image 13Dec
    by
    2016/12/13 Views 315 

    박과장님께 ㅋㅋ

  15. No Image 06Dec
    by
    2016/12/06 Views 233 

    cpuz

  16. No Image 06Dec
    by
    2016/12/06 Views 209 

    systeminfo_to_samba

  17. No Image 06Dec
    by
    2016/12/06 Views 198 

    systeminfo_to_pc

  18. No Image 06Dec
    by
    2016/12/06 Views 252 

    systeminfo_vbs.vbs

  19. 힣!mstsc_history_delete

  20. 윈도우7 자격 증명 관리 / 자격 증명 삭제

  21. CompName

  22. pc_setting_v1

Board Pagination Prev 1 2 3 4 5 6 7 Next
/ 7