Showing results for 
Search instead for 
Did you mean: 

STM32CudeIDE postbuild, path with spaces problem

Jan Wustrau
Associate II


I'm trying to run some script as postbuild, but i'm stuck on path with spaces. I'm using Win10.

Here is one of examples that i tried. I tried also with batch files, directly cmd commands. Single and double quotes.

And it looks, like CubeIde omits quotes when launching command. In console i see command with quotes, but result e.g. from powershell indicates, that he received it without.

Is there any way to solve this?


powershell.exe -command Set-Location -literalPath 'D:\projects\path with spaces';./deploy.ps1



Andrew Neil
Chief III

Paths with spaces (and other "special" characters) will always cause problems - avoid them like the plague!