I am trying to make a shortcut that will run the following command with the following switches. The window closes before the command can run long enough. I want to know where to put the /k in the target box of the shortcut to keep the windows from closing. (I think it is /k but maybe its something else).
ping XXX.XXX.XXX.XXX -t -l 25565
My target field looks like this:
"C:\Windows\System32\PING.EXE" /k 10.98.56.1 -t -I 25565
But I don't know where the /k is supposed to go (if it is /k). can someone rewrite this with the correct syntax for me?
-I
is not a valid option for Ping in Windows, and Ping's-i
(which is valid, it's TTL) only accepts a maximum value of 255.