When I start WSL I cant add folders to path. I found out that this is because folders that are included in the windows PATH that has white spaces in their name break the linux $PATH. : For instance, when putting $PATH in the command line I am getting ....Some other folders...:/mnt/c/Program: no such file or directory.
If this was a manual process, I would use either "Program Files" of Program\ files but this is imported before ~/.bashrc kicks in so I dont know how to fix this.
Thank you for helping