4
I am trying to create a batch file that first opens command prompt and then executes "prompt $t$gEnter Command Here$g". I have tried starting it with "%windir%\system32\cmd.exe" and then using "&&" to run the "prompt $t$gEnter Command Here$g" afterwards but I cannot get it to work. My reason for doing this is to have command prompt open through the batch file and display "prompt $t$gEnter Command Here$g" as the return. So it would say "{Time}> Enter Command Here>" for each return. Please help.
Wonderful. would you like to mark the answer as accepted? – Frank Thomas – 2015-06-30T16:56:59.343
he has slept before marking answer as accepted. – Vishal Kumar Sahu – 2017-10-08T20:10:57.310
2indeed. after two years, he must be well rested. – Frank Thomas – 2017-10-08T22:12:15.430
How do we wait for 5 sec and then enter some command after prompt. – Rupesh – 2019-01-02T13:56:25.340