Re: More blanks in filenames
From: jim (james.l.scott_at_att.net)
Date: 06/17/04
- Next message: Eamon Caddigan: "Re: More blanks in filenames"
- Previous message: Eamon Caddigan: "Re: More blanks in filenames"
- In reply to: Eamon Caddigan: "Re: More blanks in filenames"
- Next in thread: Eamon Caddigan: "Re: More blanks in filenames"
- Reply: Eamon Caddigan: "Re: More blanks in filenames"
- Reply: Robert Heller: "Re: More blanks in filenames"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Eamon Caddigan: "Re: More blanks in filenames"
- Previous message: Eamon Caddigan: "Re: More blanks in filenames"
- In reply to: Eamon Caddigan: "Re: More blanks in filenames"
- Next in thread: Eamon Caddigan: "Re: More blanks in filenames"
- Reply: Eamon Caddigan: "Re: More blanks in filenames"
- Reply: Robert Heller: "Re: More blanks in filenames"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|