LLlx0105 发表于 2018-1-23 18:05:58

感谢支持,成功了。
不过后面加的几行能也注释一下吗:loveliness:

Karen 发表于 2018-1-24 09:36:17

E- *Error* fprintf: argument #1 should be an I/O port (type template = "ptg") - nil会报出这个错误,请帮忙看一下!谢谢!

limeitian101 发表于 2018-5-13 18:13:46

不错,恭喜楼主!

這侽孓譙悴丶 发表于 2018-5-13 18:53:39

Karen 发表于 2018-1-24 09:36
E- *Error* fprintf: argument #1 should be an I/O port (type template = "ptg") - nil会报出这个错误, ...

后面缺少了几行代码,将以下代码复制补在后面即可!

fprintf(p "del /s /q temp.bat\n")
fprintf(p "echo\n")
axlDMClose(p)
axlShell("system temp.bat")

sence420 发表于 2018-10-19 18:40:39

:lol:lol:lol学习了,谢谢分享

xjl19910 发表于 2018-12-1 18:27:56

感谢楼主分享

chenxiumei1983 发表于 2019-3-7 15:21:46

楼主你好,我想请教下,fprintf(p "del /f /s /q \".\\*.art\"\n");向temp.bat中写入删除语句:del /f /s /q ".\*.art",fprintf(p "del /f /s /q \".\\*.art\"\n") 实际这里多了\, 那我比如想往temp里写
xcopy "%cd%\160200318FBRD_FAB\PMASKTOP.art" "%cd%\160200318FBRD_ASSY"   
fprintf(p "xcopy "%cd%\160200318FBRD_FAB\PMASKTOP.art" "%cd%\160200318FBRD_ASSY"\\n")
为什么会提示 错误呢

myhome1 发表于 2019-7-9 18:47:30

不错,恭喜楼主!

cwg0523 发表于 2019-7-9 21:13:38


不错,恭喜楼主!:lol

45085608 发表于 2020-8-11 08:57:50


感觉不错,收藏
页: 1 2 3 [4] 5
查看完整版本: 自动清除当前目录下的Gerber文件和一些没用的临时文件skill代码