Script to insert the name of the file in to Microsoft Word docx files

This project was successfully completed by jaylancer43 for £20 GBP in a day.

Get free quotes for a project like this
Project Budget
£20 - £30 GBP
Completed In
1 day
Total Bids
Project Description


I have a directory with a number of files (around 100 or so) in Microsoft Word .docx format (recent version). I need a script that will automatically insert the filename of the document in to the first line of the file, and put two blank lines after it.

So if the file was called [url removed, login to view], it would look like this:


Filename: [url removed, login to view]

Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah Blah blah


Program must run on Windows 7 and be able to be used multiple times, in multiple directories (but does not have to be at the same time). There should be no limit on the number of files it can process, but I expect it will be run against folders with around 100 files in them. Thank you.

Completed by:

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online