User 677b9c22ff
03-06-2009 00:18:40
I,
I usually use the independent ZIP install of JChem, and I remember I could opne
SD and SMI files under WINDOWS with the earlier versions.
If I built the connection with "opne with" command under XP
it pops a SCript but does not open any file, even after I reset the connections.
I am not sure if this is due to the tricky batch files.
Is there any install routine I should call? I also can not find marvinOLEServer in the registry.
' ReadReg.vbs
' VBScript to read the registry.
' author: Tamas Vertse
' version: 05/17/2006
' since: 03/02/2006
Dim wshShell, regPath, value
Dim ArgObj, var1
Set ArgObj = WScript.Arguments
' get first command line parameter
regPath = ArgObj(0)
' regPath = "HKCR\marvinOLEServer.Document\Clsid\"
' regPath = "HKCR\marvinOLEServer.Document\shell\open\command\"
Set wshShell = CreateObject("WScript.Shell")
On Error resume next
value = wshShell.RegRead(regPath)
if err <> 0 Then
Wscript.Echo "Error: " & regPath & " Entry doesn't exists"
WScript.Quit()
End if
' WScript.Echo regPath & "=" & value
Set output = WScript.StdOut
output.Write value
output.Close
Tobias