I have a desktop PC and a laptop PC - and I use an USB-Stick with a dbf-file to which I want to have access to by a program.
When I use this stick on my desktop the default ist h: and on the laptop the default is k:.
As I do want to maintain only one prg to have access to the USB-Stick - how can I find out by the program where the location for the USB-Stick is to be found at that moment?
My program uses the statement "set default to" plus "use".
e.g. set default to k:
use my.dbf
and on the laptop
set default to h:
use my.dbf
Of course I do not want to change the program every time.
The size of the USB = 256 MB - if the size could be of value
when looking for the right interface.
Is there a possibility by few program-lines to find out automatically to which interface (h: or kI have to go to?
Regards from Germany
Klaus
Peace worldwide - it starts here...
When I use this stick on my desktop the default ist h: and on the laptop the default is k:.
As I do want to maintain only one prg to have access to the USB-Stick - how can I find out by the program where the location for the USB-Stick is to be found at that moment?
My program uses the statement "set default to" plus "use".
e.g. set default to k:
use my.dbf
and on the laptop
set default to h:
use my.dbf
Of course I do not want to change the program every time.
The size of the USB = 256 MB - if the size could be of value
when looking for the right interface.
Is there a possibility by few program-lines to find out automatically to which interface (h: or kI have to go to?
Regards from Germany
Klaus
Peace worldwide - it starts here...