Bad command or file name
Jump to navigation
Jump to search
Bad command or file name or SOD-SM is a esolang created by Mihai Popa. It's inspired by 'xxx' is not recognized as an internal or external command, operable program or batch file. and it imitates a common MS-DOS error when you attempt to execute a command that does not exist.
Commands
Every command will be valid and prints this:
Bad command or file name
Examples
Quine
Bad command or file name
Interpreter
Batch
@echo off :bad set /p x=C:\^> echo Bad command or file name goto bad
Note from the author:
THIS IS NOT WORKING. ARE YOU SURE? HA, HA, HA, IT'S A JOKE LANGUAGE!
- Mihai Popa, 2023
Python
print('\n'.join(['Bad command or file name']*len(__import__('sys').stdin.read().split('\n'))))
See also
- bash: foo: No such file or directory
- 'xxx' is not recognized as an internal or external command, operable program or batch file., another 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., PowerShell variant.
- Bad command or file name/No Quine
- Filename "xxx" doesn't seem to be a valid filename. Please check if the filename your trying to execute written correctly, WDS Variant