ceraux
Goto Top

Batch if not Groß kleinschreibung

Wie macht man den /i Befehl bei not.
Bei if geht der so:
if /i "%test%" == "%test2%"
Wie geht der bei not:
if not /i "%test%" == "%test2%"
Das hat nicht funktioniert.


Danke im vorraus,
Ceraux

Content-ID: 285804

Url: https://administrator.de/forum/batch-if-not-gross-kleinschreibung-285804.html

Ausgedruckt am: 16.02.2025 um 19:02 Uhr

114757
Lösung 114757 16.10.2015 aktualisiert um 20:17:14 Uhr
Goto Top
Wird das hier ein Batchkurs ?
Falsche Reihenfolge der Parameter ...
Entweder so
if /i "%test%" NEQ "%test2%"  
oder
if /i not "%test%" == "%test2%"  
https://www.google.com/search?q=Batch+Tutorial
http://ss64.com/nt/if.html

Ab und zu mal die Suchfunktion benutzen. Danke.

Gruß jodel32
teslacoil
teslacoil 17.10.2015 um 05:16:05 Uhr
Goto Top
Ne Lösung gibt es immer