VB 一些内置函数使用--注意的地方

========================Shell方法============================

1、VB 中使用Shell函数  ,参数-如果文件路径包含有空格的话,需要用 一对 chr(34) 引号括起来

例如-Shell "cmd /c echo dasfa" & Now  & " >>" & Chr(34) & App.Path & "\testShell.log" & Chr(34), vbHide

==========================================================

posted on 2013-08-23 13:19  xbj_hyml  阅读(263)  评论(0编辑  收藏  举报

导航