L
L
lik1732021-06-11 13:23:21
cmd/bat
lik173, 2021-06-11 13:23:21

How to change the output about the wrong file or command?

Let's say I type:
A:\>file.com
'file.com' is not recognized as an internal or external command,
operable program or batch file.

how to make another message? Let 's say
'file.com' is not a command

can we do that?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
wisgest, 2021-06-12
@lik173

Take a resource editor (for example, Resource Hacker), open the cmd.exe or en-US\cmd.exe.mui file in it (depending on the system) and edit the Message Table.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question