I want to copy some files to the Startup folder using “win_copy”. The problem is, that the destination directory is
“dest=C:/ProgramData/Microsoft/Windows/Start Menu/Programs/StartUp/link.lnk” which has a space between “Start” and “Menu”.
I tried to escape that with quotation marks, but that didn’t work. Is there another way to escape space?
If you’re in a situation where you need to quote, YAML single-quotes are also escape-free. Double-quoting allows escape characters, which means you’ll either need to double your backslashes or switch to forward slashes (most modules are OK with this, but there are a handful that fix the paths up correctly).