CMD
reg export "HKEY_USERS\S-1-5-21-664984301-3062014895-3146206184-500\SOFTWARE\SAS Institute Inc.\JMP\Recent\Files" c:\1\abc.reg /y

run program(executable("cmd.exe"),options({"reg export \!"HKEY_USERS\S-1-5-21-664984301-3062014895-3146206184-500\SOFTWARE\SAS Institute Inc.\JMP\Recent\Files\!" \!"c:\1\abc2.reg\!""}));//??
This code works in CMD.But how to write JSL
Thanks!
Like this JSL is executable
run program(executable("cmd.exe"),options({"/c Taskkill /im EXCEL.exe /f /t"}));I think you can get a good idea how to extract those registry values if you check the code for FileSnapper
Most likely you have issues with the quotes, you might be able to change " to ' or something more fun like Pass quote into Run Program application