Defininfg the location of <xyscripts>

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
klownboy
Posts: 4397
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.7171 at 100% 2560x1440

Defininfg the location of <xyscripts>

Post by klownboy »

Hi, I've had a separate folder for my XYplorerTB version since day one of the TB version, but I'm constantly updating or changing scripts and I don't like keeping my well over 1000 scripts in both my XYplorer VB version and TB version. Stupid question from an old man, but what's the proper way to define or redirect to <xyscripts>. I didn't see any "xyscripts" key in the ini file. I'd like to direct my TB version scripts to my VB version scripts which is: "D:\Tools\XYplorer\Scripts". Well unless someone has a better temporary workaround. I am using the TB version the majority of the time.

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

Re: Defininfg the location of <xyscripts>

Post by highend »

Must be done on the filesystem level.
Delete the real "Scripts" folder in your <xydata> folder for the TB version and then use, e.g.:
mklink /j "D:\Tools\XYTB\Data\Scripts" "D:\Tools\XYplorer\Scripts"
One of my scripts helped you out? Please donate via Paypal

klownboy
Posts: 4397
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.7171 at 100% 2560x1440

Re: Defininfg the location of <xyscripts>

Post by klownboy »

Wow OK, I figured there might be a XY built-in way of doing that. Similar to the thumbnail folder but requiring a change to XYplorer.ini. Thanks highend for the info, but I don't think I want to do that. I'll continue doing what I'm doing and hopefully at some point soon the updates to the VB version scripts folder will not be required.

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

Re: Defininfg the location of <xyscripts>

Post by jupe »

You can achieve this via Paths section of Admin.ini if you have ent lic, which from memory you do.

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

Re: Defininfg the location of <xyscripts>

Post by highend »

Yeah, with an enterprise license you could create an Admin.ini file in the XYTB folder with this content:

Code: Select all

[Paths]
Scripts=D:\Tools\XYplorer\Scripts
One of my scripts helped you out? Please donate via Paypal

klownboy
Posts: 4397
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.7171 at 100% 2560x1440

Re: Defininfg the location of <xyscripts>

Post by klownboy »

Thanks jupe and highend, I didn't realize what I had for a Pro Lifetime was called Enterprise License, but yes I checked, I do have that license. Thanks.

Post Reply