George, this is where my method qpc_exec "" comes in handy - It will just show you where qpc was started from - regardless of drive mapping.
regards Tobias -----Original Message----- Date: Wed, 24 Feb 2010 11:06:33 +0100 Subject: Re: [Ql-Users] QPC home directory From: gdgqler <gdgq...@gmail.com> To: ql-us...@q-v-d.com On 23 Feb 2010, at 17:38, Billy wrote: > On 23/02/2010 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! >> > Not often I can comment on mails from QL devotees > But provided C: is chosen as Dos1_ > then Dir Dos1_Qpc2_ does it I sometimes have two QPC2s on at the same time. One is from directory C:\qp, which is dos1_qp in QPC2. The other is on a stick with directory dos3 or dos7 or whatever Windows XP decides at the time. If the stick version of QPC2 is a copy of the other, complete with win1, win2 etc. how do you tell from within either QPC2 which one it is? George _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm