hello! i want add del reg key to my script; now i have:
backupto "D:\red\", "C:\blue\file.dat|C:\blue\file.exe", 2, 0, 0, 0, 0, 0, 0; delete 0, 0, "D:\green\*.*"
now i want add del reg key to my script : delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\yellow"
but this not work correctly...where is the error?? please help me!
add del reg key to my script
-
highend
- Posts: 14942
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: add del reg key to my script
Which error?
XY doesn't do any registry manipulation (by scripting).
You have to use run();
Ofc only if "yellow" is a key, not a value...
XY doesn't do any registry manipulation (by scripting).
You have to use run();
Code: Select all
run """%ComSpec%"" /c reg delete ""HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\yellow"" /f", , 0, 1;One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: add del reg key to my script
yes! work! many tnxs! 
XYplorer Beta Club