2016-04-06 3 views

Antwort

2

Um dies zu tun von der Kommandozeile können Sie:

for /f "tokens=3 delims= " %i in ('wmic cpu get name') do if not "%i"=="" type nul>%i.txt 

Oder aus einer Batch-Datei:

for /f "tokens=3 delims= " %%i in ('wmic cpu get name') do if not "%%i"=="" type nul>%%i.txt 

Oder alternativ:

for /f "skip=1 tokens=3 delims= " %i in ('wmic cpu get name') do type nul>%i.txt 

und

for /f "skip=1 tokens=3 delims= " %%i in ('wmic cpu get name') do type nul>%%i.txt 
Verwandte Themen