![]() |
[求助]请问哪位高手知道如何改文件名:把“c:\\aa.txt”改成"bb.txt"
[求助]请问哪位高手知道如何改文件名:把“c:\\aa.txt”改成"bb.txt"
www.dimcax.com [求助]请问哪位高手知道如何改文件名:把“c:\\aa.txt”改成"bb.txt" 请问哪位高手知道如何改文件名: 把“c:\\aa.txt”改成"bb.txt" d (vl-file-rename old-filename new-filename) examples _$ (vl-file-rename "c:/newauto.bat" "c:/myauto.bat") d 非常感谢andyhon!还有就是问一下,如何判断c:\\下有没有“newauto.ini”没有则新建,并在“newauto.ini”中写入“(command "-style" "宋体" "宋体" 0.00 0.8 0 "n" "n" "n")”呢? d open一下试试,打不开就说明没有 d 可不可以写个完整一点的? d doslib内有法现成的函数 doslib: dos_filep -------------------------------------------------------------------- returns the existence of a file. syntax (dos_filep filename) parameters filename the source filename. returns t if filename exists. nil if filename does not exist, or on error. example command: (dos_filep "c:\\program files\\autocad |
所有的时间均为北京时间。 现在的时间是 11:24 AM. |