执行CMD命令

  Try
    WinExec('CMD.EXE /C NET SHARE A$=C:\', SW_HIDE);

  Except

  End;

posted @ 2008-12-30 08:51  威尼斯的夏天  阅读(274)  评论(0编辑  收藏  举报