JCC software to samba server
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 file3=\\192.168.4.157\samba\OA_Administrator\_System_info\%ip%_%sn%_sw.txt
wmic product where name="한컴오피스 2010" call uninstall
wmic bios get serialnumber > %file3%
wmic computersystem get "Model","Manufacturer" >> %file3%
wmic computersystem get "Name", "UserName" >> %file3%
wmic cpu get name >> %file3%
wmic PATH Win32_PhysicalMemory get capacity >> %file3%
wmic os get name >> %file3%
wmic os get installdate >> %file3%
wmic nicconfig get ipaddress,caption >> %file3%
wmic product get name,vendor,installdate >> %file3%
taskkill /f /im msiexec.exe /t
exit
'배치파일 Batch > 배치파일' 카테고리의 다른 글
파티션 볼륨명 변경 배치파일 (자동 D 드라이버 변경) (0) | 2021.04.24 |
---|---|
JCC PC start Windows Update disabled (0) | 2021.04.24 |
JCC systeminfo to samba server (0) | 2021.04.24 |
중앙 TELEWEB MPC 초기화 배치파일 : mpc start v2 (0) | 2021.04.24 |
메가박스 배치파일 mega start v1611-25 (0) | 2021.04.24 |
댓글