Ask Experts Questions for FREE Help !
Ask
    mitchsc's Avatar
    mitchsc Posts: 802, Reputation: 7
    Senior Member
     
    #1

    Jul 24, 2011, 01:41 PM
    Need Help with a Batch File
    I just purchased a CanoScan LiDE 210. It has an email function that automatically launches your default email client and attaches the scanned document to the Compose window. This scanner only seems to allow this function to work with Outlook and Outlook Express. The manual says the email program must be MAPI compliant.

    I use Thunderbird, and the scanner's email function does not work with this email client. I found a small utility called FileAttach that gets it working with my Win7 PC, but not XP. http://www.stephan-brenner.com/?page_id=312

    Went on the Thunderbird Forum, and the Moderator suggested writing a small batch file for the XP machine. He gave me the following code, but I really don't understand it, and couldn't get very far trying to use it:

    Set Thunderbird as the default email client and then create a batch file that calls Thunderbird with something like "C:\Program Files\Mozilla Thunderbird\Thunderbird" -compose attachment=%1 . Then use that batch file instead of FileAttach. %1 should get replaced by the filename.

    I've read about batch files, but still don't understand what I am supposed to do here. No response from the Thunderbird Forum, so hoping someone here can help me. I really need this laid out in simple terms.

    Thanks...
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #2

    Jul 24, 2011, 02:19 PM

    Open up Notepad, enter the code and save the file with a .bat extension to the root directory of your C drive.
    mitchsc's Avatar
    mitchsc Posts: 802, Reputation: 7
    Senior Member
     
    #3

    Jul 24, 2011, 04:09 PM

    Thank you SG.

    Could you please clarify a couple of points on his instruction?

    Set Thunderbird as the default email client and then create a batch file that calls Thunderbird with something like "C:\Program Files\Mozilla Thunderbird\Thunderbird" -compose attachment=%1 . Then use that batch file instead of FileAttach. %1 should get replaced by the filename.

    1) Do I include the quotes?

    2) His pathway ends in Thunderbird/Thunderbird. In the Programs Folder the 2nd Thunderbird is an .exe file. Should I include the .exe in this bat file on the 2nd Thunderbird?

    3) He says to replace %1 with file name. Do I just make up any file name here?

    4) He says to use the batch file instead of FileAttach.exe. The scanner program is looking for an .exe file. It won't see the .bat file. Am I misunderstanding something here.

    If his logic is correct, and you wouldn't mind, could you possible type out exactly what the .bat file should be (with or without quotes)?

    Thank you very much. This is a bit over my head...
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #4

    Jul 24, 2011, 05:17 PM

    1) No
    2) Should't need to but won't hurt
    3) No the file gets included when you rin the batch
    4) I really don't know his intention.
    mitchsc's Avatar
    mitchsc Posts: 802, Reputation: 7
    Senior Member
     
    #5

    Jul 24, 2011, 05:31 PM

    Thank SG. I'll give it a shot...

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

I need to automate my batch file , passing the username and password in the batch fil [ 5 Answers ]

I need to automate my batch file , passing the username and password in the batch file itself so that, user doesn't have to put in the authentication every time for windows.

Creating batch file [ 5 Answers ]

Hi, I have created batch file and saved with .bat from notepad. And I wanted to run that file on startup of my computer but I don't want to see that black DOS window while batch file is running on startup. Is there any other keyword or statements that I can put in batch file that will hide...

Batch file over LAN [ 2 Answers ]

I want to install bat file over lan

Batch File In Dos [ 2 Answers ]

How do I make a batch file in dos that will open a program. I need to name the file S The file is acct\prog\solomon\solomon I have this in one PC but forgot how it create the command.


View more questions Search