Bad command or file name

From Esolang
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