Is there a way to write a .bat file which sends all my inputs to a program running in background ?
Something like this ,
- c:\start.bat
- Opens a new prompt ,
- But whatever I type in new prompt should go to the default program running in the background (Don't know where to specify the default program , I don't want to show the program name each time I pass the arguments). I want to use something like this line , - <CUSTOM_PROMPT>"select data from tablex" , the string should go the "programX.bat"- instead of - <CUSTOM_PROMPT>programX.bat "select data from tablex"
 
    