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.

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