There is no script engine for file extension ".vbs".

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Jafo232
Newbie
Newbie
Posts: 1
Joined: Tue Oct 29, 2013 10:54 am

There is no script engine for file extension ".vbs".

Post by Jafo232 »

Trying to run a test script:

Code: Select all

wine cscript test.vb
Here is the results I get:
There is no script engine for file extension ".vbs".
I have searched and searched to no avail. Any help would be appreciated.

System Centos 5.
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: There is no script engine for file extension ".vbs".

Post by oiaohm »

Please state wine version. wine --version should be 1.6 or 1.7.x if not upgrade.

There is no vbs support at all in 1.4 wine by default. It appears part way in the 1.5.x series.

You have to install windows scripting host by winetricks to get some vbs scripts to work.

Reality here running scripts in wine is not wise as scripts sometimes work that will fail on Windows. And for using the script todo something linux/os x using something like http://sourceforge.net/projects/vb2py/ to convert vbs to python is not hard.

Javascript engine on cscript has been there longer in wine. Yes using a vbs to js converter is another option to get to better tested code in wine.

Javascript conversion is still heading in the direction of something you can run without wine. http://www.mikechambers.com/blog/2003/1 ... avascript/ equally can be done on Linux native.

Jafo232 so do have a very careful thought about what you are doing.
Locked