Brother willsort,
echo exit|%comspec% /k prompt _$T$_::> _GenARnd.bat
I only know that the | command uses the output of the previous command as the input of the next command. So it means using exit as the input of the next command. %comspec% is the environment variable for CMD.
Mainly, prompt _$T$_:: is not understandable at all.
I also tried executing echo exit|%comspec% /k prompt _$T$_::> _GenARnd.bat in CMD, and the generated _GenARnd.bat batch file content is:
(First line is blank)
_21:02:55.29
::exit
What does this code mean? Hope the knowledgeable brothers can help explain, thanks.
[ Last edited by namejm on 2006-11-22 at 10:56 PM ]
echo exit|%comspec% /k prompt _$T$_::> _GenARnd.bat
I only know that the | command uses the output of the previous command as the input of the next command. So it means using exit as the input of the next command. %comspec% is the environment variable for CMD.
Mainly, prompt _$T$_:: is not understandable at all.
I also tried executing echo exit|%comspec% /k prompt _$T$_::> _GenARnd.bat in CMD, and the generated _GenARnd.bat batch file content is:
(First line is blank)
_21:02:55.29
::exit
What does this code mean? Hope the knowledgeable brothers can help explain, thanks.
[ Last edited by namejm on 2006-11-22 at 10:56 PM ]
