4

I'm currently in this scenario where I have been sent a one-off email containing a batch file no larger than 100kb. Clicking on the file does nothing, and there is no download href to view. I know it's safe since I trust the sender on that and even then I know to read the code before executing the file.

All the solutions I have found online so far are to use regedit to change a registry key (if you have the application) or to convince the sender the change/remove the file extension or upload it somewhere else. But you see, I cannot download the microsoft mail application and I must use their outlook.live.com website, and that email with the attachment I received will be the only one of its kind.

What do I do?

Rohit Gupta
  • 5,096

2 Answers2

3

Since you say, it's a one-off, here s one way to do it.

  1. Create a new Google Account, they are free
  2. Forward the email to this account
  3. Open in Google Mail (GMail) and save it to your computer.
Rohit Gupta
  • 5,096
-1

If you are unable to download the batch file directly from the Outlook.live.com website and cannot use the Microsoft Mail application, and you have received a suggestion to use a Python script involving the extract_msg library to download email attachments, you must follow these steps:

  1. Install Python on your computer if it isn't already installed.
  2. Open a command prompt or terminal window.
  3. Install the extract-msg library by running the command:
    pip install extract-msg
    
  4. Save the provided Python script to a file on your computer, for example, download_attachment.py.
  5. Modify the script's msg_file_path variable to point to the location of the .msg file on your computer.
  6. Modify the script's output_folder variable to specify the directory where you want the attachments to be saved.
  7. Run the script by executing:
    python download_attachment.py
    

This process assumes that you have access to the .msg file on your computer. If you do not have the .msg file and are only able to view the email through the Outlook.live.com website, this method will not work, as the script requires the .msg file as an input. In that case, you would need to find an alternative solution to download the attachment directly from the Outlook.live.com website.