Page 1 of 1

is the a variable for internal portable folder?

Posted: 18 Jan 2021 06:49
by giuliastar
Hi

is there a variable for internal portable folder ?
I have copied some utility 100% portable inside xyplorer portable , and i have created several custom button

I have copied in a usb stick , there is only 1 folder -> xyplorer

If I plug the usb stick on a different computer , it does assing a different letter of the alphabet for example D: , F: or E:

a custom button with B:\xyplorer\notepad++.exe , doesn't work ,because seeing pluging on a different machine , it assing for a letter like E

is there a variable for interanl xyplorer portable forder like %xyplorer% ?
so i can set %xyplorer%\notepad++.exe

thanks

Re: is the a variable for internal portable folder?

Posted: 18 Jan 2021 07:10
by RalphM
Read up in the help file on "Custom File Associations (CFA)" and the use of "?" for portable drive letters.

Re: is the a variable for internal portable folder?

Posted: 18 Jan 2021 07:19
by giuliastar
RalphM wrote: ↑18 Jan 2021 07:10 Read up in the help file on "Custom File Associations (CFA)" and the use of "?" for portable drive letters.
hi
I use custom file association , i need some custom buttons for the program i have copied inside B:\xyplorer like notepad++.exe
a reply was deleted , and it points to XYplorer Native Variables
<xy> XYplorer executable path and name

are no good ?
<xy>\notepad++.exe for example but seems does not want to work

now it's B:\xyplorer\notepad++.exe but as soon I plug the usb stick on another pc , the B change to another
thanks

Re: is the a variable for internal portable folder?

Posted: 18 Jan 2021 07:22
by highend
Read the section Variables in the help file...

Re: is the a variable for internal portable folder?

Posted: 18 Jan 2021 07:49
by giuliastar
highend wrote: ↑18 Jan 2021 07:22 Read the section Variables in the help file...
Hi
I did it
and I found these but they dont' work
it's right the syntax <xy>\notepad++.exe or <xy>notepad++.exe ,isn't?
<xy> XYplorer executable path and name

<xyexe> XYplorer executable name

<xypath> XYplorer application path

<xydata> XYplorer data path

Re: is the a variable for internal portable folder?

Posted: 18 Jan 2021 09:24
by highend
Not "they" work but one of them does. Obviously "...\XYplorer.exe\notepad++.exe" can't be the right one...

Re: is the a variable for internal portable folder?

Posted: 18 Jan 2021 09:35
by giuliastar
highend wrote: ↑18 Jan 2021 09:24 Not "they" work but one of them does. Obviously "...\XYplorer.exe\notepad++.exe" can't be the right one...
hi
why?
i have copied all my utility/utilies inside the same xyplorer folder , in the same xyplorer.exe foder

Re: is the a variable for internal portable folder?

Posted: 18 Jan 2021 09:37
by highend
Because XYplorer.exe is a part of that variable and a file is not a part of a (longer) path?

Re: is the a variable for internal portable folder?

Posted: 19 Jan 2021 08:20
by giuliastar
highend wrote: ↑18 Jan 2021 09:37 Because XYplorer.exe is a part of that variable and a file is not a part of a (longer) path?
hi
this forum is really strange , I know there is a manual , I read always before asking a question
but I can't solve my problem

I would like to have some utilites in the same folder of xyplorer and use a usb stick portable version to use on different windows machine

Can I know the correct variable to use?
thanks

Re: is the a variable for internal portable folder?

Posted: 19 Jan 2021 08:33
by jupe
I find you really strange. Can we confirm we have the same definition of "read", because yours seems to be just say that you've read the info without actually looking at it, or trying to comprehend it.

https://www.google.com/search?q=define:read

If you had of bothered to READ you would see these (among others in the list that could be made to work):

<xypath> XYplorer application path
<xydrive> XYplorer drive (unslashed), e.g. C:

which both seem like they could be of some use to resolve your query? Anyway if you are just running from a CTB you can probably just use the ?: syntax anyway.

An example since you seem to always need direct answers, not directions (lead a horse to water and all that...):
<xypath>\notepad++.exe

Don't forget all the assistance you are given is from volunteers.

Re: is the a variable for internal portable folder?

Posted: 19 Jan 2021 09:55
by giuliastar
jupe wrote: ↑19 Jan 2021 08:33 I find you really strange. Can we confirm we have the same definition of "read", because yours seems to be just say that you've read the info without actually looking at it, or trying to comprehend it.

https://www.google.com/search?q=define:read

If you had of bothered to READ you would see these (among others in the list that could be made to work):

<xypath> XYplorer application path
<xydrive> XYplorer drive (unslashed), e.g. C:

which both seem like they could be of some use to resolve your query? Anyway if you are just running from a CTB you can probably just use the ?: syntax anyway.

An example since you seem to need direct answers, not directions:
<xypath>\notepad++.exe

Don't forget all the assistance you are given is from volunteers.
hi
first I want to thank you all
Don't forget all the assistance you are given is from volunteers.
I know it , and I really appreciate any help
about

Code: Select all

<xy> XYplorer executable path and name
<xyexe> XYplorer executable name
<xypath> XYplorer application path
<xydata> XYplorer data path
and <xy>\notepad++.exe
i have posted on my first answer and the second answer

I have tried <xy>\notepad++.exe and <xypath>\notepad++.exe , but on a different machine It doesn't work
I will try again with <xypath>\notepad++.exe and other utilities

about
If you had of bothered to READ you would see these (among others in the list that could be made
, I did it , english is not my native language and there are easy the misunderstandings , I found other forums users more easy to understand ,that's all
thanks Jupe , I have used google translator to answer

Re: is the a variable for internal portable folder?

Posted: 19 Jan 2021 09:59
by eil
@giuliastar if you want to use portable apps from same drive as XYplorer you have 2 options:
?:\xyplorer\notepad++.exe or <xydrive>\xyplorer\notepad++.exe
and you better not clutter "xyplorer" folder, make another one, as long as it's on the same drive, examples above would work. for example "?:\portableapps\notepad++\notepad++.exe" or "?:\xyplorer\notepad++\notepad++.exe".

Re: is the a variable for internal portable folder?

Posted: 19 Jan 2021 10:09
by giuliastar
eil wrote: ↑19 Jan 2021 09:59 @giuliastar if you want to use portable apps from same drive as XYplorer you have 2 options:

and you better not clutter "xyplorer" folder, make another one, as long as it's on the same drive, examples above would work. for example "?:\portableapps\notepad++\notepad++.exe" or "?:\xyplorer\notepad++\notepad++.exe".
Hi @eil
I will try as soon as I can
?:\xyplorer\notepad++.exe or <xydrive>\xyplorer\notepad++.exe
thanks