ChrisPals
(Christoffer Palsgaard)
March 5, 2021, 8:51am
1
Hello Community!
I am facing an issues when trying to write an execute bat file in my automation workflow.
I am able to create the file, but when I run it CMD keeps writing the command over and over again.
If i create the bat ‘manually’ from notepad with ANSI encoding it works perfect.
I tried the “Windows-1252” which should work as ANSI, according to this thread below. But I keep getting the same issues
Any Help is appreciated
Hello Guys!
I am trying to convert files from any encoding to ANSI like this:
UiPath.Core.Activities.ReadTextFile
and then
UiPath.Core.Activities.WriteTextFile
The last activity has an option called Encoding, which parameters are defined this link [https://activities.uipath.com/docs/supported-character-encoding ]
But in the list I’m not finding ANSI encoding, it just says that “If no Byte Order Marks are detected, the system ANSI code page is selected by default.” And I’m writing “” to forc…
Pablito
(Pawel Wozniak)
March 6, 2021, 11:15am
2
Hi @ChrisPals ,
Are you able to share a project example so I could test it on my end. At the moment I’m not sure why it can happen.
1 Like
Rename your bat-file to something else. When running the command the bat-file is calling itself (curl.bat) instead of curl.exe thus resulting in a infinite loop. Specifying “curl.exe -A …” as the command might also work but I’m afk so I can’t test it for you.
1 Like
ChrisPals
(Christoffer Palsgaard)
March 6, 2021, 7:49pm
5
Thank You for the responses
I changed my encoding to utf-8 which resolved the issue.
1 Like
system
(system)
Closed
March 9, 2021, 7:49pm
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.