<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><br>I am a pretty new Wine user.<br><br>I am hoping to be able to run some pretty large VBScript applications on it, to avoid porting them to Perl when we retire a Windows machine.<br><br>All of our VBScript runs as children of a WSH ".wsf" file, for example as follows.<br><br>I can get a simple ".vbs" file to run fine, but when I try to run the same file inside of a simple ".wsf" wrapper, I get a message that it cannot find the wrapper script file.<br><br>Is there any reference material about how to run ".wsf" files under Wine, or does anyone know for sure that it is or is not supported?<br><br>Thanks, Bill Starr<br>Columbus, Indiana<br>Fri, 13 Jun 2008, 7:33 pm EDT<br><br><br>More information<br>================<br><br>Here
 are some simulated screen captures (I apparently can't do a text capture from "wineconsole").<br><br>I ran "wineconsole cmd -k" to put myself into a Windows command prompt.<br><br><br>How it works in regular Windows<br>===============================<br><br>I:\temp\starr\wine-test&gt;type hello.vbs<br>wscript.echo "Hello, world."<br><br>I:\temp\starr\wine-test&gt;cscript hello.vbs<br>Hello, world.<br><br>I:\temp\starr\wine-test&gt;type hello.wsf<br>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;<br><br>&lt;job id="hello"&gt;<br>&nbsp; &lt;script language="VBScript" src="hello.vbs" /&gt;<br>&lt;/job&gt;<br><br>I:\temp\starr\wine-test&gt;cscript hello.wsf<br>Hello, world.<br><br><br>What happens in Wine on the last step<br>=====================================<br><br>Input Error: Can not find script file "Z:\usr\app\intercept\temp\starr\wine-test\hello.wsf".<br><br><br>My "I:" drive in Windows maps to the same directory as "Z:\usr\app\intercept" in the
 Wine environment.<br><br>I just tried installing 1.0rc5 from source today and it did not help.<br><br>I installed WSH v5.6 from the following file:<br><br>WindowsXP-Windows2000-Script56-KB917344-x86-enu.exe<br><br>I ran "winetricks vcrun6" to get "MFC42.DLL" installed.<br><br>I believe that's about is as far as setup.<br><br>Can anyone suggest what I need to read or what I might try next.<br><br>If I can get ".wsf" files to work, I also need to install ActiveState Perl because the ".wsf" integrates VBScript and Perl together so the VBScript can call a few Perl functions.<br><br></span></div></div><br>

      </body></html>