Datasource iMacro using %userprofile%

我是研究僧i 提交于 2019-12-25 01:49:30

问题


I'm making a script on iMacro, but i don't want put my username, so i'm trying using %userprofile% %username% %homepath%, etc.

But when i run, it recognize the folder, and the location of the file dates.csv, but it says that the file was not found, and then shows a massage and the program closes.

Follow bellow the iMacro code using !DATASOURCE

SET !FOLDER_DATASOURCE C:\Users\%username%\Arquivos<SP>Extratos<SP>Bancos\WAS\
SET !DATASOURCE dates.csv
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}

Follow the error message: error message

How can i fix it?


回答1:


Try this

SET !FOLDER_DATASOURCE 
C:\Users\%username%\Arquivos<SP>Extratos<SP>Bancos\WAS\dates.csv
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}


来源:https://stackoverflow.com/questions/50784742/datasource-imacro-using-userprofile

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!