LKBDE11291: Ein CMD oder BAT Datei von Windows XP funktioniert nicht korrekt in Windows NT4


Symptom

Deine Batch Datei funktioniert nicht wie gewohnt / getestet

Cause

Dies könnte konfigurierbar sein

Solution

Bevor die Batchdatei "auseinandergenommen" wird, lohnt sich ein Blick auf die so genannten Kommandozeilen - Erweiterungen ("commandline extensions"). Diese kann man in der Registry setzen oder überprüfen:
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\EnableExtentions
sie sind entweder enabled (1) oder disabled (0).

Ändere den Wert und kontrolliere, ob die Batchdatei jetzt korrekt arbeitet.

Eine weitere Möglichkeit, diese Parameter zu setzen geht über Kommandozeilenparameter. Einfach ein neues Kommandozeilenfenster (Dos Box) mit Parameter /E:ON oder /E:OFF (Windows XP) bzw. /X or /Y (windows NT 4.0) aufrufen.

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!

About the Author

Author: Wim Peeters - Keskon GmbH & Co. KG

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.