<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://it-raboese.de/dokuwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://it-raboese.de/dokuwiki/feed.php">
        <title> windows:programming:cmd</title>
        <description></description>
        <link>https://it-raboese.de/dokuwiki/</link>
        <image rdf:resource="https://it-raboese.de/dokuwiki/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-05-03T07:08:31+0000</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:ausgabeumleitung&amp;rev=1526141055&amp;do=diff"/>
                <rdf:li rdf:resource="https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:autologon&amp;rev=1526141763&amp;do=diff"/>
                <rdf:li rdf:resource="https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:batchpath&amp;rev=1551440002&amp;do=diff"/>
                <rdf:li rdf:resource="https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:errorlevel&amp;rev=1520332644&amp;do=diff"/>
                <rdf:li rdf:resource="https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:manage_password&amp;rev=1526497580&amp;do=diff"/>
                <rdf:li rdf:resource="https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:runonce&amp;rev=1526141450&amp;do=diff"/>
                <rdf:li rdf:resource="https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:stringmanipulation&amp;rev=1526141073&amp;do=diff"/>
                <rdf:li rdf:resource="https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:waitfornetwork&amp;rev=1526141028&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://it-raboese.de/dokuwiki/lib/tpl/dokuwiki/images/favicon.ico">
        <title></title>
        <link>https://it-raboese.de/dokuwiki/</link>
        <url>https://it-raboese.de/dokuwiki/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:ausgabeumleitung&amp;rev=1526141055&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-05-12T16:04:15+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>windows:programming:cmd:ausgabeumleitung</title>
        <link>https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:ausgabeumleitung&amp;rev=1526141055&amp;do=diff</link>
        <description>Ausgabe von net use wird in die Logdatei geschrieben.

Error wird zur StdOut umgeleitet und ebenso in die Logdatei geschrieben.



NET USE x: \\server\share &gt;&gt; c:\\temp\log.txt 2&gt;&amp;1</description>
    </item>
    <item rdf:about="https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:autologon&amp;rev=1526141763&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-05-12T16:16:03+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>windows:programming:cmd:autologon</title>
        <link>https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:autologon&amp;rev=1526141763&amp;do=diff</link>
        <description>Automatisch beim Systemstart anmelden

Automatisch anmelden


REG ADD &quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon&quot; /f /v AutoAdminLogon /t REG_SZ /d &quot;1&quot; &gt;nul
REG ADD &quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon&quot; /f /v DefaultDomainName /t REG_SZ /d &quot;&lt;RECHNER_ODER_DOMAIN_NAME&gt;&quot; &gt;nul
REG ADD &quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon&quot; /f /v DefaultUserName /t REG_SZ /d &quot;&lt;USERNAME&gt;&quot; &gt;nul
REG ADD &quot;HKEY_LOCAL_MA…</description>
    </item>
    <item rdf:about="https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:batchpath&amp;rev=1551440002&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-03-01T11:33:22+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>windows:programming:cmd:batchpath</title>
        <link>https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:batchpath&amp;rev=1551440002&amp;do=diff</link>
        <description>Pfad der Batch-Datai


%~dp0 


Backslash vom Pfad entfernen


SET &quot;p=%~dp0&quot;
SET &quot;p=%mypath:~0,-1%&quot;</description>
    </item>
    <item rdf:about="https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:errorlevel&amp;rev=1520332644&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-03-06T10:37:24+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>windows:programming:cmd:errorlevel</title>
        <link>https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:errorlevel&amp;rev=1520332644&amp;do=diff</link>
        <description>The command interpreter cmd.exe has a concept known as the error level, which is the exit code of the program most recently run. You can test the error level with the IF ERRORLEVEL command:

IF ERRORLEVEL 1 ECHO error level is 1 or more

&lt;sidebar&gt;
The IF ERRORLEVEL n test succeeds if the error level is n or more. This was presumably because there were programs that expressed different degrees of failure with higher and higher exit codes. For example, the diff program has three exit codes: 0 mean…</description>
    </item>
    <item rdf:about="https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:manage_password&amp;rev=1526497580&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-05-16T19:06:20+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>windows:programming:cmd:manage_password</title>
        <link>https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:manage_password&amp;rev=1526497580&amp;do=diff</link>
        <description>Passwörter verwalten

Gespeicherte Passwörter anzeigen


C:\Users\henrik&gt;cmdkey /list

Momentan gespeicherte Anmeldeinformationen:

* KEINE *


Passwort für Server hinzufügen


C:\Users\henrik&gt;cmdkey /add:debian /user:henrik /pass:&lt;MEIN_PASSWORT&gt;</description>
    </item>
    <item rdf:about="https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:runonce&amp;rev=1526141450&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-05-12T16:10:50+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>windows:programming:cmd:runonce</title>
        <link>https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:runonce&amp;rev=1526141450&amp;do=diff</link>
        <description>Programm beim Anmelden einmalig ausführen


REG ADD &quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce&quot; /f /v Install /t REG_SZ /d &quot;&lt;PROGRAMM&gt;&quot;  &gt;nul

REM Calc beim Anmelden starten
REG ADD &quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce&quot; /f /v Install /t REG_SZ /d &quot;calc.exe&quot;  &gt;nul

REM Anstelle von Calc kann auch ein Batch-File ausgeführt werden.
REG ADD &quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce&quot; /f /v Install /t REG_SZ /d &quot;c:…</description>
    </item>
    <item rdf:about="https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:stringmanipulation&amp;rev=1526141073&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-05-12T16:04:33+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>windows:programming:cmd:stringmanipulation</title>
        <link>https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:stringmanipulation&amp;rev=1526141073&amp;do=diff</link>
        <description>Strings manipulieren


@echo off &amp; SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
SET STR=Test String
SET STR
call :tolower STR
SET STR
call :toupper STR
set STR
goto :EOF
 
:: toupper &amp; tolower; makes use of the fact that string
:: replacement (via SET) is not case sensitive
:toupper
for %%L IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO SET %1=!%1:%%L=%%L!
goto :EOF
 
:tolower
for %%L IN (a b c d e f g h i j k l m n o p q r s t u v w x y z) DO SET %1=!%1:%%L=%%L!
goto :EOF 

:EO…</description>
    </item>
    <item rdf:about="https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:waitfornetwork&amp;rev=1526141028&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-05-12T16:03:48+0000</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>windows:programming:cmd:waitfornetwork</title>
        <link>https://it-raboese.de/dokuwiki/doku.php?id=windows:programming:cmd:waitfornetwork&amp;rev=1526141028&amp;do=diff</link>
        <description>Auf Netzwerk / Host warten



SET &quot;WAITFORHOSTONLINE=HOSTNAME_OR_IP&quot;
:CHECK_NETWORK
ECHO Check: If network (host: %WAITFORHOSTONLINE%) online
ping %WAITFORHOSTONLINE% -l 1 -n 1 | FIND /I &quot;ttl&quot; &gt; nul
IF %ERRORLEVEL% equ 1 (
	TIMEOUT /T 3 /NOBREAK
	CLS
	GOTO CHECK_NETWORK
)

ECHO HOST ONLINE</description>
    </item>
</rdf:RDF>
