Topic: 有谁知道,怎么样实现在dos下清屏的效果吗

  Print this page

1.有谁知道,怎么样实现在dos下清屏的效果吗 Copy to clipboard
Posted by: cold_liu
Posted on: 2004-04-28 00:20

3Q....

2.Re:有谁知道,怎么样实现在dos下清屏的效果吗 [Re: cold_liu] Copy to clipboard
Posted by: tangming
Posted on: 2004-04-28 09:26

CLS
用Runtime去exec()应该可以

3.Re:有谁知道,怎么样实现在dos下清屏的效果吗 [Re: cold_liu] Copy to clipboard
Posted by: cold_liu
Posted on: 2004-04-29 03:14

小弟,这么写的,可是运行后不行,请指点一下,可以么:
process pro = new process;
pro.Runtime.exec(cls);

4.Re:有谁知道,怎么样实现在dos下清屏的效果吗 [Re: cold_liu] Copy to clipboard
Posted by: mefaint
Posted on: 2004-04-29 22:31

因为clr是个内部命令,没有相对应的执行文件的。所以exec不能调用

5.Re:有谁知道,怎么样实现在dos下清屏的效果吗 [Re: cold_liu] Copy to clipboard
Posted by: cold_liu
Posted on: 2004-04-30 04:04

那怎么实现清屏效果呢,请指点一二呀..


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923