hi
i use a portable version of xyplorer on a usb, my problem everytime i attach this usb to different computers its drive letter changed so my recent and favourite files and folders become unreachable (folders and file at the same usb) example: "K:\NewText.text" in first computer change to "G:\NewText.text" in the second one,is there any method to make them available as long as they are at the same xy drive?
portable xy and files accessibility
-
yusef88
- Posts: 1148
- Joined: 28 Jan 2013 03:50
- Location: Windows 8.1 32-bit
-
highend
- Posts: 14953
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: portable xy and files accessibility
Use a variable instead of a drive letter:
E.g.:
<xydrive>
E.g.:
<xydrive>
One of my scripts helped you out? Please donate via Paypal
-
yusef88
- Posts: 1148
- Joined: 28 Jan 2013 03:50
- Location: Windows 8.1 32-bit
Re: portable xy and files accessibility
with favorites it's ok,i wish if i could open recent files just by double click
To see the attached files, you need to log into the forum.
-
highend
- Posts: 14953
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: portable xy and files accessibility
How do you invoke this recent file window?
One of my scripts helped you out? Please donate via Paypal
-
yusef88
- Posts: 1148
- Joined: 28 Jan 2013 03:50
- Location: Windows 8.1 32-bit
Re: portable xy and files accessibility
Code: Select all
open inputselect("Recent Files", get("list_recentlyopenedfiles"), <crlf>, 5);-
highend
- Posts: 14953
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: portable xy and files accessibility
Use this:
Code: Select all
open inputselect("Recent Files", regexreplace(get("list_recentlyopenedfiles"), "[A-Z]:", "<xydrive>"), "<crlf>", 5);One of my scripts helped you out? Please donate via Paypal
-
yusef88
- Posts: 1148
- Joined: 28 Jan 2013 03:50
- Location: Windows 8.1 32-bit
Re: portable xy and files accessibility
many thanks
.. what about favorites files?
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: portable xy and files accessibility
Code: Select all
$favf=;$t = getkey("Count","FavFiles");$c = 1;
while($c <= $t){$favf = $favf.'|'.getkey("Fav$c","FavFiles");$c++;}
open inputselect("Favorite Files", regexreplace(trim($favf,'|'), "[A-Z]:", "<xydrive>"), "|", 5);saving favorites relative to XYplorer is better. Like "..\..\SublimeText\sublinme_text.exe"
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
yusef88
- Posts: 1148
- Joined: 28 Jan 2013 03:50
- Location: Windows 8.1 32-bit
Re: portable xy and files accessibility
@SammaySarkar
thanks for help,your scrip shows recent files only
thanks for help,your scrip shows recent files only
is there an easy way to save favorite to relative path without the drive letter?saving favorites relative to XYplorer is better. Like "..\..\SublimeText\sublinme_text.exe"
To see the attached files, you need to log into the forum.
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: portable xy and files accessibility
No it doesn't. I copy-pasted-modified a line from highend's script, and forgot to change the inputselect()'s title. Did that now.yusef88 wrote:thanks for help,your scrip shows recent files only
I usually alter the ini keys directly after saving favorites. This job can be automated with a script.yusef88 wrote:is there an easy way to save favorite to relative path without the drive letter?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
XYplorer Beta Club