![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, is there a way to find out whether there is a Sybase 32-bit or 64-bit installed? I need this info for a batch- / shell-script... so i need something like system-environment variables. The question is for Windows an Linux. Regards Ingmar |
#3
| |||
| |||
|
|
Try checking to see if these files exist (for Windows): ECHO OFF IF EXIST "C:\Program Files\SQL Anywhere 11\Bin32\dbsrv11.exe" GOTO EXISTS32 ECHO 32-bit dbsrv11.exe DOES NOT EXIST GOTO CHECK64 :EXISTS32 ECHO 32-bit dbsrv11.exe EXISTS :CHECK64 IF EXIST "C:\Program Files\SQL Anywhere 11\Bin64\dbsrv11.exe" GOTO EXISTS64 ECHO 64-bit dbsrv11.exe DOES NOT EXIST GOTO END :EXISTS64 ECHO 64-bit dbsrv11.exe EXISTS :END PAUSE Breck On 14 Oct 2009 03:17:13 -0700, <Ingmar> wrote: Hi, is there a way to find out whether there is a Sybase 32-bit or 64-bit installed? I need this info for a batch- / shell-script... so i need something like system-environment variables. The question is for Windows an Linux. Regards Ingmar -- Breck Carter http://sqlanywhere.blogspot.com/ RisingRoad SQL Anywhere and MobiLink Professional Services breck.carter (AT) risingroad (DOT) com |
#4
| |||
| |||
|
|
Try checking to see if these files exist (for Windows): ECHO OFF IF EXIST "C:\Program Files\SQL Anywhere 11\Bin32\dbsrv11.exe" GOTO EXISTS32 ECHO 32-bit dbsrv11.exe DOES NOT EXIST GOTO CHECK64 :EXISTS32 ECHO 32-bit dbsrv11.exe EXISTS :CHECK64 IF EXIST "C:\Program Files\SQL Anywhere 11\Bin64\dbsrv11.exe" GOTO EXISTS64 ECHO 64-bit dbsrv11.exe DOES NOT EXIST GOTO END :EXISTS64 ECHO 64-bit dbsrv11.exe EXISTS :END PAUSE Breck On 14 Oct 2009 03:17:13 -0700, <Ingmar> wrote: Hi, is there a way to find out whether there is a Sybase 32-bit or 64-bit installed? I need this info for a batch- / shell-script... so i need something like system-environment variables. The question is for Windows an Linux. Regards Ingmar -- Breck Carter http://sqlanywhere.blogspot.com/ RisingRoad SQL Anywhere and MobiLink Professional Services breck.carter (AT) risingroad (DOT) com |
![]() |
| Thread Tools | |
| Display Modes | |
| |