padmakumarg
December 13th, 2005, 01:28 AM
Hi All,
In my project, I want to check the version of Oracle SQL*PLUS used. The user will browse for the Oracle SQL*PLUS executable and give the path together with exe name in a text box. But if there are two SQL*PLUS exes installed in the machine (One with version 8 and the other with version 9), I want to check the version of the SQL*PLUS executable. Only the executable with version 9 will be working for my project. The confusion is that there are two types of SQL*PLUS available for each version. One is a windows based utility with name SQLPLUSW.exe [Oracle Version 9] and PLUS80W.exe [Oracle Version 8]. The other is a Dos utility with name SQLPLUS.exe [Oracle Version 9] and PLUS80.exe [Oracle version 8]. My problem is I am not getting the version of the Dos utilities (PLUS80.exe and SQLPLUS.exe) using the GetFileInfo() method.
Can anyone suggest a method to get the version of a DOS-based utility program?
Thanks in Advance
Padmakumar.G
In my project, I want to check the version of Oracle SQL*PLUS used. The user will browse for the Oracle SQL*PLUS executable and give the path together with exe name in a text box. But if there are two SQL*PLUS exes installed in the machine (One with version 8 and the other with version 9), I want to check the version of the SQL*PLUS executable. Only the executable with version 9 will be working for my project. The confusion is that there are two types of SQL*PLUS available for each version. One is a windows based utility with name SQLPLUSW.exe [Oracle Version 9] and PLUS80W.exe [Oracle Version 8]. The other is a Dos utility with name SQLPLUS.exe [Oracle Version 9] and PLUS80.exe [Oracle version 8]. My problem is I am not getting the version of the Dos utilities (PLUS80.exe and SQLPLUS.exe) using the GetFileInfo() method.
Can anyone suggest a method to get the version of a DOS-based utility program?
Thanks in Advance
Padmakumar.G