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: 200
Joined: 24 Mar 2022 10:58

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: 1274
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 24H2 (OS Build 26100.4652)
Portable x64 XYplorer (Actual version, including betas)
Everything 1.5.0.1396a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88

Post Reply