Re: XP SP2 command line trouble - update
- From: "mayayana" <mayaXXyana1a@xxxxxxxxxxxxxxxx>
- Date: Tue, 18 Sep 2007 22:00:19 -0400
if pathtoexe has spaces, then it should be quoted when adding to the
registry. Similarly, the %1 should be quoted ("%1") in case paths or
filenames containing spaces are passed.
That's good to know. I've seen the %1 both ways and
wondered how that affected things.
But that wouldn't be connected with the problem that's
showing up, would it? Explorer is sending the command line
fine, which implies that the Registry settings are OK, but the
command line itself, on at least this particular XP SP2
machine, includes quotes. I had the utility write the
command line it received to disk, and also wrote it as
a string of ascii numbers. On WinXP SP2 - where the
utility fails to find the file pointed to in the command line -
my log file shows a string like "C:\file.pdf"
The ascii string reads like: 34-67-58 ...etc. There
are actually quotes in the command string itself.
On Win98 the quotes are not there. I haven't tested
the logging on XP SP1, but I have tested the utility
itself with no problems.
.
- Follow-Ups:
- Re: XP SP2 command line trouble - update
- From: Robert Morley
- Re: XP SP2 command line trouble - update
- From: Randy Birch
- Re: XP SP2 command line trouble - update
- References:
- XP SP2 command line trouble - update
- From: mayayana
- Re: XP SP2 command line trouble - update
- From: Randy Birch
- XP SP2 command line trouble - update
- Prev by Date: Re: VB Chinese Code Problem
- Next by Date: Re: XP SP2 command line trouble - update
- Previous by thread: Re: XP SP2 command line trouble - update
- Next by thread: Re: XP SP2 command line trouble - update
- Index(es):
Relevant Pages
|