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)
McKuserAsked:
Who is Participating?
 
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.
0
 
McKuserAuthor Commented:
Found the solution myself.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.