본문 바로가기
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
배치파일
2017.01.11 09:53

systeminfo_to_info_COMPUTERNAME

조회 수 459

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%_%COMPUTERNAME%.txt

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

set file3=\\192.168.4.157\samba\OA_Administrator\_System_info\%ip%_%COMPUTERNAME%_cpu.txt

set file4=C:\%ip%_%COMPUTERNAME%_cpu.txt

timeout 5

 

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 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 product get name,vendor,installdate >> %file%

taskkill /f /im msiexec.exe /t

 

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

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

timeout 10


cls

exit


  1. No Image notice

    CASZONE X-TOOLS Add-On v1.6.3

    @echo off mode con:cols=65 lines=20 title CASZONE X-TOOLS Add-On v1.6.3 (개발자:김인철) >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" if '%errorlevel%' NEQ '0' ( echo Run as Administrat...
    Date2019.09.18 Category배치파일 Views2407
    read more
  2. notice

    CASZONE X-TOOLS v4.8.2

    IP 대역 98.18 부분을 사용 할 사내망 IP 대역으로 변경하세요. RAM---Computer IP Setting 안에 SUBNETMASK, DNS1, DNS2 사내망 네트워크 정보로 수정하여 사용하세요. @echo off title CASZONE X-TOOLS v4.8 (개발자:김인철) >nul 2>&1 "%SYSTEMROOT%\s...
    Date2019.09.01 Category배치파일 Views2034
    read more
  3. No Image

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

    F: cd\ cd\SERVER_F\0_최신동영상 cls echo. echo 대상경로 : F:\SERVER_F\0_최신동영상 echo. set /p DATE_S="시작 저번주 금요일(예:170101) 입력하세요 (시작일) : " echo. set /p DATE_E="종료 이번주 목요일(예:170108) 입력하세요 (종료일) : " md "F:\...
    Date2017.02.22 Category미디어서버 Views320
    Read More
  4. No Image

    systeminfo_to_info_COMPUTERNAME

    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 ...
    Date2017.01.11 Category배치파일 Views459
    Read More
  5. No Image

    systeminfo_to_tel

    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 ...
    Date2016.12.31 Category배치파일 Views359
    Read More
  6. No Image

    systeminfo_to_vbs

    Set WinScriptHost = CreateObject( "WScript.Shell" ) WinScriptHost.Run Chr(34) & "C:\Windows\Temp\systeminfo_to_services.cmd" & Chr(34), 0 Set WinScriptHost = Nothing Set WinScriptHost = CreateObject( "WScript.Shell" ) WinScriptHost.R...
    Date2016.12.31 Category배치파일 Views386
    Read More
  7. No Image

    systeminfo_to_winup

    @echo off c: cd\ cls echo. echo 서비스 중지 echo. echo. Windows Update echo. sc stop wuauserv echo. echo 서비스 사용안함 echo. echo. Windows Update echo. sc config wuauserv start= disabled echo. REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Polici...
    Date2016.12.31 Category배치파일 Views352
    Read More
  8. No Image

    systeminfo_to_sw

    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 ...
    Date2016.12.31 Category배치파일 Views356
    Read More
  9. No Image

    systeminfo_to_info

    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 ...
    Date2016.12.31 Category배치파일 Views405
    Read More
  10. No Image

    systeminfo_to_services

    @echo off C: cd\ echo 서비스 중지 echo. echo. Windows Update echo. sc stop wuauserv echo. echo. echo. Windows Defender echo. sc stop WinDefend echo. echo. Windows Backup echo. sc stop SDRSVC echo. echo. superfetch echo. sc stop SysMain echo....
    Date2016.12.31 Category배치파일 Views364
    Read More
  11. No Image

    systeminfo_to_power

    @echo off c: cd\ cls echo. echo. Echo + 전원 구성표 : 고성능(활성) POWERCFG -SETACTIVE 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c echo. Echo + 디스플레이 끄기 : 해당없음 (0값) POWERCFG /Change /monitor-timeout-ac 0 echo. Echo + 다음시간이후에 하드...
    Date2016.12.31 Category배치파일 Views351
    Read More
  12. No Image

    systeminfo_to_pc

    c: cd\ cls copy "\\192.168.4.157\samba\OA_Administrator\_System_info\C_ROOT_CMD\Windows\Temp\cpuz\cpuz.ini" "C:\Windows\Temp\cpuz\" /y copy "\\192.168.4.157\samba\OA_Administrator\_System_info\C_ROOT_CMD\Windows\Temp\cpuz\7za.exe" "C:\Window...
    Date2016.12.31 Category배치파일 Views359
    Read More
  13. No Image

    systeminfo_to_samba

    c: cd\ cls timeout 150 copy "\\192.168.4.157\samba\OA_Administrator\_System_info\C_ROOT_CMD\Windows\Temp\systeminfo.7z" "C:\Windows\Temp\" /y C:\Windows\Temp\cpuz\7za.exe e C:\Windows\Temp\systeminfo.7z -oC:\Windows\Temp\ -aoa -psysteminfo C...
    Date2016.12.31 Category배치파일 Views341
    Read More
  14. No Image

    박과장님께 ㅋㅋ

    익스플로러 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] 호환성보기설정 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation] 반디집 활용하세요. ( 힣!pc_setting_v1.2.exe 참조 (실행금지)
    Date2016.12.13 Views315
    Read More
  15. No Image

    cpuz

    [CPU-Z] VERSION=1.7.7.0 TextFontName= TextFontSize=14 TextFontColor=000080 LabelFontName= LabelFontSize=14 ACPI=1 PCI=1 MaxPCIBus=256 DMI=1 Sensor=1 SMBus=1 Display=1 UseDisplayAPI=1 BusClock=1 Chipset=1 SPD=1 XOC=0 CheckUpdates=0 ValidUsern...
    Date2016.12.06 Views233
    Read More
  16. No Image

    systeminfo_to_samba

    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 ...
    Date2016.12.06 Views209
    Read More
  17. No Image

    systeminfo_to_pc

    copy "\\192.168.4.157\samba\OA_Administrator\_System_info\C_ROOT_CMD\Windows\Temp\systeminfo_to_samba.cmd" "C:\Windows\Temp\" /y copy "\\192.168.4.157\samba\OA_Administrator\_System_info\C_ROOT_CMD\Windows\Temp\cpuz\cpuz.ini" "C:\Windows\Tem...
    Date2016.12.06 Views198
    Read More
  18. No Image

    systeminfo_vbs.vbs

    Set WinScriptHost = CreateObject( "WScript.Shell" ) WinScriptHost.Run Chr(34) & "C:\Windows\Temp\systeminfo_to_samba.cmd" & Chr(34), 0 Set WinScriptHost = Nothing
    Date2016.12.06 Views252
    Read More
  19. No Image

    힣!mstsc_history_delete

    @echo off echo. del "cd "%USERPROFILE%\Documents\Default.rdp" /a -h /f /q REG DELETE "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default" /F mstsc /v 192.168.4.89 echo. pause
    Date2016.12.06 Category배치파일 Views408
    Read More
  20. 윈도우7 자격 증명 관리 / 자격 증명 삭제

    공식자료 : https://support.microsoft.com/ko-kr/help/555631 자료출처 : http://windowstipoftheday.blogspot.com/2006/04/manage-user-credentials-in-windows-xp.html 윈도우7 사용자 저장 자격 증명 관리 (사용자 이름 및 암호) 저장된 자격 증명에서 사...
    Date2016.12.06 Category명령어 Views1995
    Read More
  21. No Image

    CompName

    @echo off 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 S...
    Date2016.12.06 Category배치파일 Views537
    Read More
  22. No Image

    pc_setting_v1

    @echo off c: cd\ C:\Windows\System32\CMD.exe /c start c:\temp\OA_install\CompName.cmd C:\Windows\System32\CMD.exe /c start c:\temp\OA_install\services_power_exit.cmd C:\Windows\System32\CMD.exe /c start c:\temp\OA_install\systeminfo_local.cm...
    Date2016.12.06 Category배치파일 Views444
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 Next
/ 7