how to run custom windows command from Sikuli which are not available in "os" module

Asked by sudhir takale

Hi,

There are some windows command (dnscmd) which i need to run using os.system.
When added code like this os.system("dnscmd /zoneprint <zonename>")
gettng error message command not found.

Kindly suggest.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
obiwan-92 (obiwan-92) said :
#1

Hello.

Try with os.popen function.
But I think it's probably not coming from Sikuli.
Try to call the same instruction, in the Windows cmd and see if it's work.

Regards.

Can you help with this problem?

Provide an answer of your own, or ask sudhir takale for more information if necessary.

To post a message you must log in.