Re: More blanks in filenames

From: jim (james.l.scott_at_att.net)
Date: 06/17/04


Date: Wed, 16 Jun 2004 22:16:43 GMT

Eamon Caddigan wrote:
> Bryan Oakley <boakley@vignette.com> wrote:
>
>>Eamon Caddigan wrote:
>>
>>
>>>If the path contains any spaces, it only works when quoted:
>>>/Open="c:\the path\of the\file"
>>>
>>>I can't seem to get this working in Tcl.
>>>
>>>I've tried quotes, escaped quotes, using and not using [file
>>>nativename], but can't seem to find the combination that works.
>>>
>>>
>>
>>Have you tried this variation?
>>
>> set file {c:\the path\of the\file}
>> exec whatever "/Open=\"$file\""
>>
>>I don' t know for certain whether it works or not. I do know windows
>>(and tcl on windows) does weird things with command line arguments, but
>>the above is the first thing I'd try.
>
>
> Yes, without success. It doesn't help that I'm launching a GUI app that
> doesn't give any error messages when it doesn't understand its
> command-line arguments.
>
> Thanks for the help though!
>
> -Eamon
>
I have had success using forward slashes in filenames. The first
character of the filename in the above 'set' command appears as
\t which is a tab. I don't think you have a tab in the filename.
I would try:
set file {c:/the path/of the/file}
Then I would try with the whole thing quoted to protect the space.

Good Luck
Jim



Relevant Pages

  • RE: many problems
    ... when i start my pc my windows appear then i get ... way,so went back to dialup b/band .any ideas Thanks gerry ... Click on General Tab and you will see a Button called ... Open the Run command and type these commands in: ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • RE: Windows Firewall-Cant Turn On
    ... I have tried both of your suggestions (Run Command & ... You cannot turn on or turn off the Windows Firewall setting on a Windows XP ... Then click on Advanced tab and scroll down to under the Browsing Option: ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Quando Apple lascia le cose al caso...
    ... " keep a backup file ... " make all windows the same size when adding/removing windows ... " remove '=' from the list of valid filename chars. ...
    (it.comp.macintosh)
  • Re: "TAB" between options
    ... Also, if you use Command+Tab, let up on the Tab key ... Command+` will cycle through document windows within an ... Command = Control ... Often the keystroke is the same in the Mac ...
    (microsoft.public.mac.office.word)
  • Re: How to pass short filename in context menu?
    ... So in the command field in the registry change the path to cmd to something explorer can't find. ... Windows 95/98/Me: The Windows system directory. ... > would pass the long filename in a context menu shell command. ...
    (microsoft.public.windowsxp.general)