script that won't work anymore in x64

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
XY fan
Posts: 240
Joined: 24 Mar 2022 10:58
Location: Windows 11 225% scaling on 3840 x 2400 screen

script that won't work anymore in x64

Post by XY fan »

I have this script - courtesy of highend I think - on a Toolbar button which gets me most of the way in to Delete Restore Points:

run "%SystemRoot%\SysNative\cmd.exe /C systempropertiesprotection",,0,0;

It does not work anymore in x64 it appears. Can it be changed to work in x64?

Thanks in advance.

Horst
Posts: 1331
Joined: 24 Jan 2021 12:27
Location: Germany

Re: script that won't work anymore in x64

Post by Horst »

There is no longer a need for Sysnative in a x64 Tool.
It's only a way for 32bit tools to access the real system32.
For your script, it should be enough to call cmd.exe.
Windows 11 Home, Version 25H2 (OS Build 26200.7171)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1400a (x64), Everything Toolbar 2.1.0, Listary Pro 6.3.6.99

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

Re: script that won't work anymore in x64

Post by jupe »

Only this should be necessary,

run "systempropertiesprotection";

XY fan
Posts: 240
Joined: 24 Mar 2022 10:58
Location: Windows 11 225% scaling on 3840 x 2400 screen

Re: script that won't work anymore in x64

Post by XY fan »

Yes - thankyou.

Post Reply