Spaces in file name and filepath can cause problem with Run Program


Title: Space(s) in file name and filepath can cause problem with Run Program.


Q.  What can I do to make sure Run Program works when I have space(s) in my file name or filepath?

A. Run Program adheres completely to the specifications of Microsoft Windows meaning spaces are interpreted as separators just like they are in the Command Line Interface. However, when you start the Run Program parameter with an executable file/filepath like below the following spaces can be handled as parts of the file name or folder name.


notepad C:\Users\argos\Desktop\Misc xlsx-csv\space test.txt
However, when you just specify only the file path in the Run Program like below, you may encounter a problem.


C:\Users\argos\Desktop\Misc xlsx-csv\space test.txt
In this case, Run Program will read the file path from left to right while looking for a matching file. Therefore, if your Desktop holds a file name like Misc.txt, it will consider it as a match because, again, a space after Misc is interpreted as a seperator (special character).


C:\Users\argos\Desktop\Misc.txt
To avoid this problem, when using Run Program, it is always advisable to specify the application to open your file like


notepad {{my.a}}


where {{my.a}} is your file path.
or,
use quotation marks to denote that the entire character string is one parameter that will be passed on to Windows by PAM.
like


"{{my.a}}"


Similar issue is address at this link ---

Need help?

Technical contact to tech@argos-labs.com


May you search all documents,



STU

Q. Where is the result of OCR stored?

 Q. Why does Text Input not work even when the App windows is showing in the foremost layer on the screen?

 Q. How does variables in Plugins work?

 Q. STU crashed before I saved the bot. Can I recover it?

 Q. How to change the default save path?

 Q. Do OCR Library's Google Vision API and Tesseract have different usage criteria?

 Q. What is ‘Duration’ in Shortcut keys?

 Q. When using Clipping image, what is ‘0’ box?

 Q. What should I do if I don't know the column name in CSV entry of the result value in case of result of the plug-in?

 Q. How can I use repeat inside of ‘Repeat’ action?

 Q. The scenario isn’t working Because of App title has been changed, what should I do?

 Q. Do I have to use 'Repeat' to check one word listed in String Manipulation?

 Q. What should I do in case of Image match fails?

 Q. How can I set 'Image Match' if the setting image changes after setting button?

 Q. Java script, HTML action isn't working on my browser, is there a reason for this matter?

 Q. I often use ‘Send Email’ a lot but it’s is annoying that I’ve to enter my mail info every time.

 Q. How can I change all the time out value at once?

 Q. What is the meaning of line in 'Scroll'?

 Q. I want to see the pop-up again after checking “Do not show next” in User Params.

 Q. To use 'Window Object', I need to turn on developer mode. Where do I turn it on?

 Q. Is there a way to see the last test run results of my scenario in STU?

 Q. PAM and STU did not work because an error occurred. What should I do?

 Q. Can someone else take over control of my scenario? How can I share my scenario?

 Q. I tried to type in my scenario with Text input item but some reason it’s not typing anything. What should I check to type in my scenario?

 Q. Which operation can use the variable specified in Set Variable Operation?

 Q. How to set 'drag' with 'Locate Image'?

Q. It doesn’t seems to be recording special keys such as Enter, ESC or any other keys during Auto-Recording system.

Q. How can I start chrome incognito window. How can I do it?

Q. How can I close all the automatic popups of URL homepage? I want to close all the automatic popups of URL homepage How can I do it?

Q. Due to unexpected scenario failure, my browser remained open and process were on processing. Even though my next scenario is schedule to run.

Q. Due to Cache data, sometimes it causes the scenario failure. Can I delete the cache automatically before the scenario starts? 

Q. I’d like to check my data where data time is time I want.

Q. I input wrong key in Shortcut Keys but I cannot delete it. How to modify it?

Q. I used my Google account in send E-mail operation but it doesn’t seems to be working. Why?

Q. I realized my scenario was very similar with previous ones. So I'd like to reuse part of the scenario . How to bring the step?

Q. What can you do when [Run Program] does not start an application even when it is given a full file path?

Q. My SMTP settings in STU got deleted. Is there any way I can get it back?

Q. How do you set up the IF - Then - Else logic with STU?

Q. I am losing double quotes when executing a bot. How do you handle double quotes in the Plugin parameter?

Q. What do I do when suddenly the "Failed to install plugins" error message appears and all the plugins from STU stopped working?

Q. What should I do when STU plugins like Convert Charset and Excel Advance III give an error saying that Encoding format is invalid?

Q. What happens to the special variable {{rp.index}} when multiple Repeat loops are driven simultaneously by Steps and Functions?

Q. What can I do when passing a special character string as value (property value) and it is causing a problem?

Q. What is the best way to repeat inside of ‘Repeat' operation?

Q. When you run a loop of operations with Repeat what are the "counters" you can use to manage the loop?

Q. Result Handler value changes after copy and move --- why?

Q. How do you execute multiple scenarios sequentially?

Q. I do not see the plugins on my STU. How do you make them appear?

Q.