hi,
just a guess: maybe encapsulate it with " for example, this doesnt work: cd Program Files but this does: cd "program files"
so, if you need to prepare a string to pass, you may add " at the start and end to encapsulate it...
but again, its just a guess ...
greets,
chris
Am Dienstag 17 Januar 2006 19:26 schrieb B. Bogart:
yuck, URIs don't have spaces, you put one in a web-page you its replaced with %20 in the URI.. I guess you could have to replace spaces with %20 and see if that works.
Try just opening the file in a browser and note the URL it uses to open it.
I assume this happens on win32, but its been too long for me to know...
.b.
Hans-Christoph Steiner wrote:
In u_main.tk, in the procedure menu_openhtml, this little snippet of code does not work when there is a space in the file name (i.e. C:/Program Files/pd/doc), but works fine when there are no spaces:
exec rundll32 url.dll,FileProtocolHandler \ [format "file:%s" $filename] &
This opens HTML, etc from the menu/help browser, so it would be most helpful to have it working. I have tried a number of things to no avail.
Any Tcl-meisters want to take a stab? Matju?
.hc
As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously. - Benjamin Franklin
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev