filename:='"c:\ab c\a.dll"'中间加一对双引号原因:命令行命令都把空格作为参数的分隔符,为了解决参数中带空格的问题,DOS一开始就采用了用一对双引号将带空格的参数括起来的方法。比如你有c:\a bc\aa.txt,如果你输入type c:\a bc\aa.txt,你会得到: The system cannot find the file specified. Error occurred while processing: c:\a. The system cannot find the path specified. 但如果你输入type "c:\a bc\aa.txt"就行了
字符,数字....
You see!
是就学习
The system cannot find the file specified.
Error occurred while processing: c:\a.
The system cannot find the path specified.
但如果你输入type "c:\a bc\aa.txt"就行了