Probate Plus knowledgebase
Find out more at: https://probate.software/

Using CMD or BAT file to select data folder then launch Probate Plus

Sometimes you may have a need to have access to multiple Probate plus data folders. For example if you have multiple branch offices set to have their own data folders rather than one firm-wide data folder. Or, perhaps you have a live "production" data folder and a dummy "training" data folder to experiment on.

You can switch between data folders from within Probate Plus (article here), however it's also possible to use command script files to switch folder location for you before you launch Probate Plus. You'd create one command script file per data folder location and then run the script to start Probate Plus.

Attached is an example CMD file to show you how to set the data folder using the Windows REG command and then launch Probate Plus. Once you have created your CMD file, just put it on the desktop and get users to use them to start PP. You'll need one CMD file for each data folder location you wish to connect to.

Probate Plus v5 : Sample CMD script file contents (Windows)

; =============================================================
; Set Probate Plus data folder in registry, then execute Probate Plus application
; You need to edit the <my_data_folder_location> section...
; =============================================================

REG ADD "HKCU\Software\Law Systems Limited\Probate Plus\5.0\Database" /v DataPath /t REG_SZ /d "<my_data_folder_location>" /f

; =============================================================
; Now, execute the prowin32.exe application

; You'll need to change the application path to match the actual location of Probate Plus v5.
; Don't forget the full application path needs to be inside quotes "" !; =============================================================
"C:\Program Files\Probate Plus\prowin32.exe"

; =============================================================
; (C) Law Systems Limited 2015

; Web : lawsystems.co.uk; =============================================================

 

Probate Plus v4 : Sample CMD script file contents (Windows)

; =============================================================
; Set Probate Plus data folder in registry, then execute Probate Plus application

; You need to edit the <my_data_folder_location> section...
; =============================================================

REG ADD "HKCU\Software\Law Systems Limited\Probate Plus\3.0\Database" /v DataPath /t REG_SZ /d "<my_data_folder_location>" /f

; =============================================================
; Now, execute the prowin32.exe application

; You'll need to change the application path to match the actual location of Probate Plus v4.
; Don't forget the full application path needs to be inside quotes "" !; =============================================================
"C:\Program Files\Probate Plus\prowin32.exe"

; =============================================================
; (C) Law Systems Limited 2015

; Web : lawsystems.co.uk; =============================================================
 

Have more questions? Submit a request
Powered by Zendesk