Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Drag&drop on scripts not working since SP3

Reply
 
Old 01-22-2009   #1 (permalink)
Reventlov


 
 

Drag&drop on scripts not working since SP3

Hello,
I wrote here a few weeks ago about a problem I had after installing Service Pack 3.
The defalult for vbs files was switched to cscript instead of Wscript. I set it back.
More difficult, the vbs files did not see the parameters drop on the icons.
It seemed there was nothing passed as a parameter.
I tried to reinstall the script support with no luck. Script 5.6 installs but doesn't
solve the problem. Script 5.7 refuses to be installed because SP3 is newer.

I searched the registry and I found this entry:
[HKEY_CURRENT_USER\Software\Classes\Applications\wscript.exe\shell\open\command]

It was set to
"C:\WINDOWS\system32\wscript.exe" "%1
instead of
"C:\WINDOWS\system32\wscript.exe" "%1" "%*"
With this change it seems to work fine.
Only the name of the script was passed as an argument to the script, but not the other
arguments.

--
Giovanni Cenati (Bergamo, Italy)
Write to "Reventlov" at katamail com
http://digilander.libero.it/Cenati (Esempi e programmi in VbScript)
--

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Drag and Drop General Discussion
Drag and Drop not working General Discussion
Drag and Drop Live Mail
Windows Explorer has stopped working (drag & drop) - solution for Vista General
Access denied trying to "md"? Drag & Drop is now drag, drop, OK, OK ???? Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46