'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.
- Filename "xxx" doesn't seem to be a valid filename. Please check if the filename your trying to execute written correctly, an WDS Variant
- 'Python' is not recognized as an internal or external command, operable program or batch file.