Click to See Complete Forum and Search --> : Open Dos Window
Shiv Kumar G.M.
August 29th, 2001, 06:26 AM
How do I open a dos window,
give two dos commands one after the other,
then close that dos window.
Thank You,
Shivakumar G.M.
berta
August 29th, 2001, 06:41 AM
but if necessary 2 command in the same dos call?
do U think that it can work?
shell "mycmd1.exe"
shell "mycmd2.exe"
dos window closes itself auto (nt).
hi,brt
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/images/bertaplanet.gif'>
</center>
Shiv Kumar G.M.
August 29th, 2001, 06:46 AM
I have to open dos window.
1. Give "cd\"
2. Type "type report.txt > prn"
Thank You.
Shivakumar G.M.
berta
August 29th, 2001, 06:51 AM
can U use cmd "type ..\report.txt > ..\prn" ?
hi,brt
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/images/bertaplanet.gif'>
</center>
Shiv Kumar G.M.
August 29th, 2001, 06:53 AM
Sir,
cmd "type ..\report.txt > ..\prn"
No, i can't use sir,
Thank You,
Shivakumar G.M.
berta
August 29th, 2001, 07:26 AM
hem.. sorry...
but U can use
cmd "type \report.txt > \prn"
hi,brt
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/images/bertaplanet.gif'>
</center>
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.