• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 311
  • Last Modified:

Blat 2.7.5 cannot insert text

I'm running Blat on my computer to test and then roll it out to some users in our network.

First off, I have a simple batch file that zipped several files (for backup purpose) and then send an e-mail notification to several people saying the backup was completed.  This is a sample of the blat command line.
1. I first install Blat.  c:\blat -install <IP addr of internal SMTP server> <e-mail addr of sender>
The install went through no error.
2. Then inside the batch file, I have blat run. C:\blat\blat textfile.txt -t "email_1@dot.com, email2@dot.com, email3@dot.com" -s "Backup completed"

When the batch file ran, I received the error msg: "Unknown error code 2 when trying to open textfile.txt".  I didn't receive any e-mail notificaitons from blat.

What is wrong with the syntax?  Textfile.txt is in the same directory as Blat.exe (C:\blat)
  • 2
1 Solution
McKuserAuthor Commented:
Found the problem with the batch file.  On #2 above, the sentence should say "c:\blat\blat c:\blat\textfile.txt -t......".  I had to exclusively indicate where the text file was located even though the file was in the same directory as Blat (c:\blat).
It is working now.
McKuserAuthor Commented:
Found the solution myself.

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now