Which environment are you using, mac/windows
For any MAC, u need to get help from oracle instant client, OCCI libraries, C++ application, External object from the extend script.
but it longer way.
if you are using in windows, vbscript will help you. use Active script