I'm trying to create a custom script to add a registry entry to the RunOnce key. The problem I'm having is the amount of quotes I require in order for it to run properly. No matter what combination of quotes I use, whether it be <qt/> or ", I don't get the end result I need, which is an entry in the RunOnce key that looks like this: "C:\Program Files\LANDesk\LDClient\miniscan.exe" "/send= Custom Data - Lock Status = Unknown".
Here's the script:
REMEXEC0=C:\Windows\System32\reg.exe add HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce /v MiniScan /t REG_SZ /d <qt/>C:\Program Files\LANDesk\LDClient\miniscan.exe<qt/> "/send= Custom Data - Lock Status = Unknown", SYNC