oWshShell.Run("telnet 43.43.22.45 23"); 
Telnet is on the system default path. So that should work.
 //oWshShell.Run("firefox.exe http://www.google.com"); 
Firefox is not in the system path. Therefore, running does not know how to find it.
 //oWshShell.Run(" notepad.exe"); 
Note the space before the “notebook” → This file name does not exist.
 source share