← Back to team overview

sikuli-driver team mailing list archive

[Question #180749]: Paste paths including ""

 

New question #180749 on Sikuli:
https://answers.launchpad.net/sikuli/+question/180749

Hi all I need pass parameters including "" because windows needs "" to understand the path "Program Files\xxx"
How can I pass the parameter: C:\Program Files\\"+msg    with "" like "C:\Program Files\HELLO\HELLOAppStore"


My sikuli code is :

path= input("ENTER BRAND NAME:") # Dixons, etc.

if path== "HELLO"  :
   msg = "HELLO\HELLOAppStore"

type("r", KeyModifier.WIN) #open run
paste("C:\Automation\sikuli endpoints\endpoints_changer.bat C:\Program Files\\"+msg)
type("\n")
*******************************************************************************************
I get an error because endpoint_changer.bat understands only "c:\Program" as a parameter because the space between word Program and  word Files.

The "endpoints_changer.bat" detail :

set_end_points.vbs %1 http://127.0.0.1:29/agr-be/analyticService.asmx ......(continue)

%1 is waiting for "C:\Program Files\HELLO\HELLOAppStore"

Please help me.
Thanks in advance.





-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.