Dear friends, may I ask how to handle running a bat file with Uipath?

Dear friends, may I ask how to handle running a bat file with UiPath?
I have tried using open process, but it did not take effect.
image

Hi @15126038745

Please go through this

Regards,

.bat文件的内容是:copy *.txt 合并文件.txt 为合并文件夹中的txt写的;然后在流程中路径是对的,这里为了方便各位帮忙查看问题,截图中简化了,没有写明指定路径

今天,问题终于解决了,如图,用start process 活动,属性中的“工作目录”也要设置成.bat文件工作的具体路径,在“文件名”属性中精确路径是没办法解决的;或者在.bat文件中写明需要合并的文件已经合并后文件的绝对路径,那么该功能才会生效。

Hi ,

Open process for cmd and put full path bat file as argument.

Thanks,
Aman

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.