From a command line I can run
oradim.exe -delete -sid DataWare
Its in my path so I can do it from any location (I have tested this)
What is failing is
oraCMD = "oradim.exe -delete -sid DataWare"
errCMD = wshShell.exec(oraCMD)
if errCMD <> 0 Then
msgbox "ERROR: " & errCMD
wscript.quit
end if
In this configuration I get the error “Object doesn’t support this property or method”. If I use .run instead of .exec I get “The system cannot find the file specified”.
Any ideas?
What solved the problem was calling the CMD in the command line