OS is win XP and WScript.exe dose exist but in folder option,file types tab ,file with vbs extension are of type VBS file,and when i double click the file,Xing Mpeg Player program is runned.
Shiva
Main Topics
Browse All TopicsI have created wsh file wuth this content:
[ScriptFile]
Path=E:\Documents and Settings\shiva\Desktop\tes
[Options]
Timeout=0
DisplayLogo=1
BatchMode=0
where test.vbs have this content:
Dim WSHNet, fs
Set WSHNet = WScript.CreateObject("WScr
set fs = WScript.CreateObject("Scri
Function MapDrive( letter, UNCname)
If fs.DriveExists( UNCname) Then
WSHNet.MapNetworkDrive letter, UNCname
End If
End Function
MapDrive "Z:", "\\Shiva\secretariate\bin\
When i double click wsh file then gets error as below
There is no script engine for file extension ".vbs"
regards,
shiva
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
You have confirmed my original response. The VBS files are associated with Xing and not with wscript/cscript. Fix the file associations and everything should work.
In explorer click the Folder Options->File Options menu item.
On the Folder Options dialog box, click the File Options tab, then scroll down to the VBS entry.
Highlight VBS and click the advanced button
Highlight the open entry and click the edit button.
Change the settings to:
Application to perform action:=C:\WINDOWS\System3
Use DDE:=Checked
DDE Message:=
Application:=WScript
DDE Application not running:=
Topic:=System
The Open with command prompt should have the Application to perform action set to=C:\WINDOWS\System32\CSc
Hopefully that will fix you up. Let me know.
And if those don't work try these links
http://www.dougknox.com/xp
in particular
http://www.dougknox.com/xp
Maybe Dougs site can fix you up.
Business Accounts
Answer for Membership
by: jkozeePosted on 2004-06-03 at 18:31:44ID: 11228774
Sounds like the shell association for .vbs has been lost. Can you double click the file and run it directly? What OS are you running on.
t.exe "%1" %*
Double check the file association (In XP Explorer->Folder Options->File Options->vbs->advanced button->open should be something like:
C:\WINDOWS\System32\WScrip