Corrupted HDD installation, new installation crashes when launching scripts
-
Arikdefrasia
- Posts: 16
- Joined: 10 Jun 2022 17:35
Corrupted HDD installation, new installation crashes when launching scripts
So I had a secondary drive corrupt which had xyplorer installed on it. After getting a new HDD and reinstalling everything to where it should be, xyplorer crashes if I click on a script button in the toolbar. Even something as simple as a script to go to a specific folder causes it to crash (even with admin privileges). All my scripts worked fine before the corruption, but now just crash after crash. I tried a fresh install of XY on the new drive and on a different drive and it still crashes. Any ideas?
-
highend
- Posts: 14991
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Corrupted HDD installation, new installation crashes when launching scripts
XY version?
Crash = XY completely exits without any error message?
Post the most simple script that you have that leads to a crash
Crash = XY completely exits without any error message?
Post the most simple script that you have that leads to a crash
One of my scripts helped you out? Please donate via Paypal
-
Arikdefrasia
- Posts: 16
- Joined: 10 Jun 2022 17:35
Re: Corrupted HDD installation, new installation crashes when launching scripts
XY 27.10.0500
Yes a crash, closes without error message.
Example scripts:
Code: Select all
goto "I:\Music\Soulseek";Code: Select all
$explorer = "%windir%\explorer.exe";
if (exists("<curitem>") == 1) { // Selected file
run """$explorer"" /select,""<curitem>""";
} elseif (exists("<curitem>") == 2) { // Selected folder
run """$explorer"" ""<curitem>""";
} else { // No selection
run """$explorer"" ""<curpath>""";
}-
highend
- Posts: 14991
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Corrupted HDD installation, new installation crashes when launching scripts
Code: Select all
goto "I:\Music\Soulseek";Does it crash as well?
If it does, enter this in the address bar
fresh;and try the script in that instance.
No, XY has no MVC++ dependenciesIs there a chance that it's caused by a missing Microsoft Visual C++ Redistributable or anything like that?
One of my scripts helped you out? Please donate via Paypal
-
Arikdefrasia
- Posts: 16
- Joined: 10 Jun 2022 17:35
Re: Corrupted HDD installation, new installation crashes when launching scripts
Crashed when executing the script from the address bar,highend wrote: ↑19 Aug 2025 15:23Paste it into the address bar and hit {ENTER}.Code: Select all
goto "I:\Music\Soulseek";
Does it crash as well?
If it does, enter this in the address barfresh;
and try the script in that instance.
crashed when executing fresh; from the address bar,
and crashed when trying the script again.
-
highend
- Posts: 14991
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Corrupted HDD installation, new installation crashes when launching scripts
Download this: https://www.xyplorer.com/download/xyplo ... nstall.zip
Create
Extract the archive in that folder, run that instance in there, execute
Create
C:\TempExtract the archive in that folder, run that instance in there, execute
goto "I:\Music\Soulseek"; in itOne of my scripts helped you out? Please donate via Paypal
-
Arikdefrasia
- Posts: 16
- Joined: 10 Jun 2022 17:35
Re: Corrupted HDD installation, new installation crashes when launching scripts
Looks like scripts do function in that instance.highend wrote: ↑19 Aug 2025 15:34 Download this: https://www.xyplorer.com/download/xyplo ... nstall.zip
CreateC:\Temp
Extract the archive in that folder, run that instance in there, execute
goto "I:\Music\Soulseek";in it
-
highend
- Posts: 14991
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Corrupted HDD installation, new installation crashes when launching scripts
Copy over your XYplorer.ini file from the non-working instance into
and check if it now crashes again executing a script.
If it crashes, make a copy of the .ini and rename the extension to .xys.
Attach it to your next post
Code: Select all
C:\Temp\xyplorer_27.10.0500_noinstall\DataIf it crashes, make a copy of the .ini and rename the extension to .xys.
Attach it to your next post
One of my scripts helped you out? Please donate via Paypal
-
Arikdefrasia
- Posts: 16
- Joined: 10 Jun 2022 17:35
Re: Corrupted HDD installation, new installation crashes when launching scripts
Yeah that caused it to start crashing again. Here's the confighighend wrote: ↑19 Aug 2025 17:21 Copy over your XYplorer.ini file from the non-working instance intoand check if it now crashes again executing a script.Code: Select all
C:\Temp\xyplorer_27.10.0500_noinstall\Data
If it crashes, make a copy of the .ini and rename the extension to .xys.
Attach it to your next post
-
highend
- Posts: 14991
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Corrupted HDD installation, new installation crashes when launching scripts
I've removed your config from your post (don't leave your license in that file^^).
Unfortunately, with the same portable version that I've linked and your XYplorer.ini I don't get any crash at all when using scripts...
Unfortunately, with the same portable version that I've linked and your XYplorer.ini I don't get any crash at all when using scripts...
One of my scripts helped you out? Please donate via Paypal
-
Arikdefrasia
- Posts: 16
- Joined: 10 Jun 2022 17:35
Re: Corrupted HDD installation, new installation crashes when launching scripts
Thanks for that (it been a long few weeks). I've continued trying to track down the cause and through process of elimination via copy/pasting ini lines, I've discovered the culprit.
Code: Select all
[General]
StepScripts=1
XYplorer Beta Club