how to escape spaces in windows

in linux its
this\ name
but apparently the same is not true in windows.

I am trying to set the compiler path to my IDE Geany.
the execute line is:
C:\Program Files (x86)\CodeBlocks\MinGW\bin\g++ -Wall -c "%f" && "./%e"

ive tried variations to get the spaces escaped:
C:\Program\ Files\ (x86)\CodeBlocks\MinGW\bin\g++ -Wall -c "%f" && "./%e"

"C:\Program Files (x86)\CodeBlocks\MinGW\bin\g++" -Wall -c "%f" && "./%e"

C:\"%programfiles%"(x86)\CodeBlocks\MinGW\bin\g++ -Wall -c "%f" && "./%e"
Last edited on
nevermind, i typo'd. The quoted method used.
Topic archived. No new replies allowed.