> Hello Folks,
>
> Please help me get out of this error message which I have been struggling
> to figure out since last 2 days.
>
> Have tried almost everything and anything that i have got out of Google
> search, but no luck.
>
> Server running Windows 2008 R2 SP1, 64-bit
>
> Downloaded blat324_64.full.zip file.
>
> Copied all the 3 files, blat.dll, blat.exe, blat.lib to
> C:Windows\System32\ directory.
>
> Ran CMD with "run as administrator" option.
>
> Tried running blat -install, but failing everytime with below error
> message, not sure WHYYYY
>
> ==========================================
>
> C:\Windows\System32>Blat –install exchange.abcd.com.yy
> [email protected]
> Blat v3.2.4 (build : Feb 24 2015 21:30:17)
> 64-bit Windows, Full, Unicode
>
> Blat saw and processed these options, and was confused by the last one...
> exchange.abcd.com.yy
> Do not understand argument: exchange.abcd.com.yy
> Windows console utility to send mail via SMTP or post to usenet via NNTP
> by P.Mendes,M.Neal,G.Vollant,T.Charron,T.Musson,H.Pesonen,A.Donchey,C.Hyde
> http://www.blat.net
> syntax:
> Blat <filename> -to <recipient> [optional switches (see below)]
>
> Blat -SaveSettings -f <sender email addy> -server <server addr>
> [-port <port>] [-try <try>] [-profile <profile>]
> [-u <login id>] [-pw <password>]
> or
> Blat -install <server addr> <sender's addr> [<try>[<port>[<profile>]]]
> [-q]
>
> Blat -profile [-delete | "<default>"] [profile1] [profileN] [-q]
> Blat -h
>
> C:\Windows\System32>
>
> C:\Windows\System32>Blat -install -server exchange.abcd.com.yy -f
> [email protected]
>
> Blat v3.2.4 (build : Feb 24 2015 21:30:17)
>
> 64-bit Windows, Full, Unicode
>
> unknown error code 2 when trying to open ?install
>
> ==========================================
>
> Tried with IP-Address of exchange server too, but same thing, its getting
> confused with every thing that we mention next to "install" switch.
<snipped>
I copied your line from your email and found the problem. Your command line
hyphen is not an ASCII hyphen; it looks like a hyphen but it is not. The
character code you key in has a hex value 0x2013, where an ASCII hyphen has
a hex value 0x002D. Here is the output showing what you sent us in email
and the hex values for each character:
R:\blat>x64\debug\Blat -install exchange.abcd.com.yy
[email protected]
Blat saw the following command line options:
?install
2013 0069 006E 0073 0074 0061 006C 006C 0000
exchange.abcd.com.yy
0065 0078 0063 0068 0061 006E 0067 0065 002E 0061 0062 0063 0064 002E 0063
006F 006D 002E 0079 0079 0000
[email protected]
0062 0061 0063 006B 0075 0070 002E 0073 0075 0070 0070 006F 0072 0074 0040
0061 0062 0063 0064 002E 0063 006F 006D 002E 0079 0079 0000
When I changed the apparent hyphen in your command line to an ASCII hyphen
with my US keyboard, everything worked. I just made a change to Blat's
source to look for your 0x2013 character and replace it with an ASCII hyphen
(0x002D). This change will be in a future release.
The first clue that something was wrong, and how to fix it, is when you saw
"?install" in your output. The question mark indicates the character at
that position was not printable.
Chip
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.