← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #202046]: open desktop shortcut

 

Question #202046 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/202046

    Status: Open => Answered

RaiMan proposed the following answer:
BTW: "" on Windows command line for prameters are only needed, if the
parameter contains blanks

one of the following should do it

os.popen(r"start /MAX /D c:\ iexplore") # raw string, no need for
escaping

or

os.popen("start /MAX /D c:\\ iexplore") # \ escaped

or even yours

os.popen('start /MAX /D "c:\\" iexplore')
or
os.popen(r'start /MAX /D "c:\" iexplore')

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