运行电脑中的文件

如果是exe文件,则可以直接

exec("file");

  如果是其它文件,比如说词本,则可以

exec("notepad 1.txt");

 

posted @ 2015-03-21 19:15  朱小杰  阅读(145)  评论(0)    收藏  举报