Re: [Ql-Users] QPC home directory
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
Re: [Ql-Users] QPC home directory
On 24 Feb 2010, at 17:08, tobias.froesc...@t-online.de wrote: 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. This an excellent idea which certainly works. I have never used QPC_EXEC before. George ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC home directory
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 Consider it passed on. Thanks Norman that's just what I was after. I can now unzip QPC2 along with my PCBCAD program into any PC directory and get it to boot and run without any reconfiguration and no QXL.WIN file!!! Cheers Malcolm ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC home directory
Evening Malcolm, Consider it passed on. Thanks Norman that's just what I was after. I can now unzip QPC2 along with my PCBCAD program into any PC directory and get it to boot and run without any reconfiguration and no QXL.WIN file!!! You are very welcome. Cheers, Norman. ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC home directory
Dilwyn Jones wrote: QPC_EXEC c:\program files\windows explorer\iexplore.exe,http:\\www.dilwyn.me.uk\index.html I've got a major headache, but one little comment to that: QPC_EXEC http:\\www.dilwyn.me.uk\index.html will work, too, and start the default browser (e.g. Opera in my case), which might be preferable and does not rely on a hard-coded path. Same with QPC_EXEC path_filename.mp3 Marcel ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC home directory
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 All the best - Bill ( back to lurk mode) ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC home directory
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. Cheers, Norman. ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC home directory
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
Re: [Ql-Users] QPC home directory
Evening Dilwyn, Thanks Normal, I'll pass the info on. Hmmm. I've been called a few things in my time, but normal was never one of them - for obvious reasons. ;-) Cheers, norman. ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC home directory
Thanks Normal, I'll pass the info on. Hmmm. I've been called a few things in my time, but normal was never one of them - for obvious reasons. ;-) Cheers, norman. Oh, oh, oops...sorry. It's been a long day. Dilwyn Jones ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm