LKBEN10626: A cmd or bat file from windows xp does not function with windows NT 4
LKB | Created: 02/04/2020 | Version: 0 | Language: EN | Rating: 0 | Outdated: False | Marked for deletion: False
Author: Wim Peeters - Keskon GmbH & Co. KG
Symptom
Your batch does not work as designed
Cause
This can be due to configuration
Solution
Before troubleshooting you should check the command line extensions. You can check this parameter in the registry HKEY_CURRENT_USER\Software\Microsoft\Command Processor\EnableExtentions and check if they are enabled 1 or disabled 0.
Change this value and check if your script runs properly. You can also use the /E:ON or /E:OFF parameter under Windows XP or /X or /Y under windows NT 4.0.
About the Author
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 in different European countries and different European languages. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform where he is one of the most important contributors and the main developer.