is the a variable for internal portable folder?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

is the a variable for internal portable folder?

Post 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

RalphM
Posts: 1935
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: is the a variable for internal portable folder?

Post by RalphM »

Read up in the help file on "Custom File Associations (CFA)" and the use of "?" for portable drive letters.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

Re: is the a variable for internal portable folder?

Post 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

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: is the a variable for internal portable folder?

Post by highend »

Read the section Variables in the help file...
One of my scripts helped you out? Please donate via Paypal

giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

Re: is the a variable for internal portable folder?

Post 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

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: is the a variable for internal portable folder?

Post by highend »

Not "they" work but one of them does. Obviously "...\XYplorer.exe\notepad++.exe" can't be the right one...
One of my scripts helped you out? Please donate via Paypal

giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

Re: is the a variable for internal portable folder?

Post 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

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: is the a variable for internal portable folder?

Post by highend »

Because XYplorer.exe is a part of that variable and a file is not a part of a (longer) path?
One of my scripts helped you out? Please donate via Paypal

giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

Re: is the a variable for internal portable folder?

Post 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

jupe
Posts: 2794
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: is the a variable for internal portable folder?

Post 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.

giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

Re: is the a variable for internal portable folder?

Post 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

eil
Posts: 1622
Joined: 13 Jan 2011 19:44

Re: is the a variable for internal portable folder?

Post 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".
Win 7 SP1 x64 100% 1366x768

giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

Re: is the a variable for internal portable folder?

Post 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

Post Reply