We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
'xxx' is not recognized as an internal or external command, operable program or batch file.
(Redirected from Dmc)
'xxx' is not recognized as an internal or external command, operable program or batch file. or simply dmc is an esolang created by User:None1. It imitates a common Windows command prompt error when the user attempts to execute a command or file that doesn't exist.
Commands
Any command is valid, and prints:
'(Command name)' is not recognized as an internal or external command, operable program or batch file.
Commands are separated by line feeds
Interpreter
Python
[print("'{}' is not recognized as an internal or external command,\noperable program or batch file.".format(x)) for x in __import__('sys').stdin.read().split('\n')]
C
The program implements a REPL, and uses the insecure function gets to read the program.
#include<stdio.h>
char _[1000000];
int main()
{
while(!feof(stdin))
{
printf("C:\\>");
gets(_);
printf("'%s' is not recognized as an internal or external command,\noperable program or batch file.\n",_);
}
}
Batch
@echo off :bad set /p x=C:\^> echo '%x%' is not recognized as an internal or external command, echo operable program or batch file. echo. goto bad
See also
- Bash: foo: No such file or directory, a similar esolang.
- foo : The term 'foo' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. is another similar esolang that imitates a common Powershell error.
- Bad command or file name, an MS-DOS variant.
- Illegal command, a DOSBox variant.
- Filename "xxx" doesn't seem to be a valid filename/commmand!, an ms-DOS Variant
- 'Python' is not recognized as an internal or external command, operable program or batch file.