On 23/02/10 17:10, Dilwyn Jones wrote:
Does anyone know if it's possible within QPC2 to find the dos
directory
that QPC itself was executed from i.e. C:\program files\QPC\
Got asked that in an email today, I thought it might make an
interesting
helpline type FAQ if anyone knows how!
What i do is define DOS8_ to be the setting ./ (dot slash) which
seems
to work. On Windows anyway which is what I expect you to be using
Dilwyn!
On Linux, under wine it needs to be changed from ./ and I use the
directory selector button to navigate to the directory where I
executed
QPC from. IN my case it is /media/CRUCIAL/qpc3v33 which wine changes
to
something like c:\qpc3v33\.
Regardless, dir dos8_ gives a listing of the qpc directory.
...and no doubt LET d$ = DOS_DRIVE$(8) would return the directory.
Thanks Normal, I'll pass the info on.
Dilwyn Jones
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm