Something like this (requires FileIO Xtra):

OS_Drive = getOSDirectory().char[1..3]
OS_DriveLetter = getOSDirectory().char[1]

put OS_Drive
-- "C:\"

put OS_DriveLetter
-- "C"

etc.



Bertil Flink
Creative Media



----- Original Message ----- 
From: "nik crosina" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 14, 2004 11:24 PM
Subject: <lingo-l> system disk


> Hi,
> How can I find out the drive letter of the crive that contains the currently running 
> OS. We need to find this out as we develop a
network app that might have the system run from other drives than the c:\ drive. Or is 
that not possible?
>
> Thanks for your help?
> Nik
>
>
> ___________________________________________________
> Take your business online with Officemaster. Sign up for a free trial today!
>
> http://www.officemaster.net
>
> [To remove yourself from this list, or to change to digest mode, go to 
> http://www.penworks.com/lingo-l.cgi  To post messages to
the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with
programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to