Excuse me, how to make the ping 192.168.1.1 command into an EXE file, because it's a bit troublesome to use this command frequently!
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
;Commands to include:
INSCOMMAND="ping 192.168.1.1"
;Main program part:
.model tiny
.data
adcab db COMMAND,0
.code
.startup
mov si,offset adcab
int 2eh ;COMMAND.COM executes the command
.exit 0
end