On Linux, with winexe i need to get the value of a registry key.
The path to the reg key contains spaces.
I use this command :
/usr/bin/winexe -U domain/user%"password" //host 'REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware\Signature Updates" /v ScheduleDay'
i tried with simple quotes, doubles quotes, mix of both of them but i keep getting the message that the key is not valid.
on windows i tried this and it works :
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware\Signature Updates" /v ScheduleDay
How can i handle correctly spaces in bash with winexe ?