Run command doesn't change any text from the Parameter or Program options. By best guess is how quotes are interpreted by Windows - or more importantly, how parameters are sent to programs.
Take this for example:
Code: Select all
Program=powershell.exe
Parameter=echo "I need this displayed"
What is sent to Windows is :
powershell.exe "echo "I need this displayed""
The first parameter sent is:
echo (with a trailing space)
The second parameter is:
I
The third parameter is:
need
etc.
This is why there is a CRLF after each word.
So the answer to this specific instance, is to use escaped quotes or single quotes (which Powershell will interpret correctly, but other programs may not).
Code: Select all
Program=powershell.exe
Parameter=""echo \"I need this displayed\"""
or this:
Code: Select all
Program=powershell.exe
Parameter=""echo 'I need this displayed'""
Note, I added double quotes
"" on the Parameter options since Rainmeter will strip off leading and trailing quotes.
-Brian