I want to create the command hello without having to create a file like hello.bat.
I want the command without the file.
The command must execute an echo Hello World!.
Is there a way to do it on Windows?
batch filecommand lineechowindows 10
I want to create the command hello without having to create a file like hello.bat.
I want the command without the file.
The command must execute an echo Hello World!.
Is there a way to do it on Windows?
Best Answer
I want to create the command hello without having to create a file
You can use
doskey
.Open a cmd shell
Enter the following command:
Run the command:
Example:
Further Reading