PCB名称中存在空格时批处理命令如何正确调用?
例如:FPGA V1.0.brd其中存在空格,例如使用axlRunBatchDBProgram命令时会将其视为两个参数,
command = strcat("report -v net" " " axlCurrentDesign() " " "Netlist.txt")
axlRunBatchDBProgram("report" command ?startMsg "report" ?noUnload t ?noExitMsgs t ?noLogview t)
以上命令无法正常运行,有没有糕手 没想到好办法,跑之前加条判断,有空格的就替换空格成“_”然后另存为,然后再跑另存为的那个?
反正找个软柿子捏呗 不清楚要干什么,输出所有网络名? gfdyael 发表于 2024-3-13 19:59
不清楚要干什么,输出所有网络名?
这只是一个示例,具体问题看标题 把brd name前后在包装一组 " "
command = strcat("report -v net" " " "\"" axlCurrentDesign() "\"" " " "Netlist.txt")
axlRunBatchDBProgram("report" command ?startMsg "report" ?noUnload t ?noExitMsgs t ?noLogview t) 感谢楼主分享
页:
[1]