Quote:
Originally Posted by raidzero
Yes, I leave no spaces in my kitchen path itself, but in EXT packages it seems to have no problems.
|
This solves probably 60% of problems with PRB kitchens that seem to always throw errors not matter WHAT you do.
It's the path leading up to the kitchen root. The scripts that run executables under /<kitchen root>/Tools and /<kitchen root>/MyTools are what are affected by path spaces. These are built around DOS/command prompt scripting, and must have paths explicitly enclosed in quotes or using 8.3 path calls to work properly.
The actual executables themselves then use their own built-in APIs and Windows calls for paths below /<kitchen root>, most of which can handle paths with spaces and special chars. Nine times out of ten, they assume "/." to parse to "/<kitchen root>/%current directory%" and use the correct paths for deeper than that. That's why PRB, Ervius VK, and the others work properly with spaced paths below "/<kitchen root>".
As a matter of fact, "/<kitchen root>" itself can actually have spaces in it and still work properly, provided the batch scripts know about it.
(I do the same thing as Sharkie, where I name my kitchens with spaces and the kitchen date stamp. Calk's 4.x kitchen batch scripts properly handle this in most cases. First thing I do with anybody's kitchen is modify the batch scripts to my liking, but there's some info for those who are scratching their heads.)
PS...LOL my Linux is showing...backslash\forward slash...