Try this code

I found that only converting the file to "short name" works reliably on windows:

## Start arbitrary URL in external program (Windows only)
proc Start {url} {
  ## try file short name (that is the only way to deal with spaces that works)
  if {[catch {file attributes $url -shortname} c]} {set c $url}
  catch { exec cmd /C start $c & }
}

Any other methods, like multiple quotes, don't seem to work.

Reply

Optional. The content of this field is kept private and will not be shown publicly.
Optional. If you want your name to link to your homepage.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre>
  • Lines and paragraphs break automatically.
More information about formatting options