Differences

This shows you the differences between two versions of the page.

Link to this comparison view

checkdellmodel [2014/10/26 01:52] (current)
Line 1: Line 1:
 +== Check Dell Model ==
  
 +Use the CCTK to output Model information to a file.
 +<​code>​
 +
 +@echo off
 +
 +if %1x==x goto :Args
 +echo Testing for 6420
 +findstr /i "​6420"​ %1 > 6420.x
 +for %%R in (6420.x) do if %%~zR GTR 0 goto :Is6420
 +for %%R in (6420.x) do if %%~zR EQU 0 goto :Not6420
 +:Is6420
 +echo Is 6420
 +goto End
 +:Not6420
 +echo Testing for 6410
 +findstr /i "​6410"​ %1 > 6410.x
 +for %%R in (6410.x) do if %%~zR GTR 0 goto :Is6410
 +for %%R in (6410.x) do if %%~zR EQU 0 goto :Not6410
 +
 +:Is6410
 +echo Is 6410
 +:Not6410
 +
 +goto :End
 +
 +:Args
 +echo Need filename(s) to check
 +goto :End
 +
 +:End
 +</​code>​
 +
 +  * [[batfiles|Back to Bat files]]
checkdellmodel.txt ยท Last modified: 2014/10/26 01:52 (external edit)
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0