Skip to main content

How can I run a .vbs file workflow. May be either ‘Run Shell Script’ or ‘Run Windows Command’. Or is there any other options available? 

I tied to run this through ‘Run Shell Script’ but it showing an issue with Interpreter(/bin/sh)

 

Hi @Ajeesh_G , I am not sure if can vb scripts natively in linux. You might need to use an emulator such as ‘Wine’ to run Windows applications and scripts on Linux.

You can try below command in the ‘Run Shell Script’ after installing Wine:
 

wine wscript HelloWorld.vbs


However, if you are trying to run it on a windows machine, this is how you can do it:

Add the ‘Run Windows Command’ step and configure it to call the vb script:

 

In this scenario, a sample VBScript located in the 'scripts' folder is utilized to display a message box with the text 'Hello, World'.
Upon executing the workflow, the output observed is as follows:

 


Hi @Ajeesh_G I’m closing this post for now, if you have any follow-up questions please don’t hesitate to share them here or create a new post 🙋‍♀️


Reply


ataccama
arrows
Lead your team  forward  OCT 24 / 9AM ET
×