Skip to main content
Solved

Can I run .vbs file from Workflow?

  • May 21, 2024
  • 2 replies
  • 33 views

Forum|alt.badge.img+1

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)

 

 

Best answer by AKislyakov

Hi @Ajeesh_G 

 

If your workflow is running on a Windows machine you can use cscript command to execute a VBS script.

Use Run Windows Command step and put command as
cscript vbsMsgTst.vbs

 

If your workflow is running on a Linux machine you’ll first need to install some kind of windows emulator, e.g. WINE.

2 replies

Forum|alt.badge.img+2
  • Ataccamer
  • Answer
  • May 21, 2024

Hi @Ajeesh_G 

 

If your workflow is running on a Windows machine you can use cscript command to execute a VBS script.

Use Run Windows Command step and put command as
cscript vbsMsgTst.vbs

 

If your workflow is running on a Linux machine you’ll first need to install some kind of windows emulator, e.g. WINE.


Forum|alt.badge.img+1
  • Author
  • Universe Traveller
  • May 22, 2024

Thank you @AKislyakov  for your message.

 

It worked for me. Thank you for your support.