Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Recently, at work, the program that we have used for years has drastically changed and all of our old file types are no longer supported. This has left us completely out in the cold as to how we can access our old files without using the older software. With that being said, here is my problem with macros that I'm in need of help:

I need to be able to open a file in a specific program, copy all the text in the file, paste the text into a new notepad document and then save the notepad file with the file's original name as a simple text document. I need to do this to an entire folder (and eventually folders within a folder but that can wait for now).

If I need to clarify anything let me know. Thanks for any help you can give me.

share|improve this question
add comment

1 Answer

Have you tried doing this in powershell?

Using powershell you can loop through every file in a directory and copy/paste all contents to another file named with a _new.txt suffix. I'll try to find a code for this for you, however I' havnt used powershell in quite a while but its relative simple to learn.

share|improve this answer
    
That'd be great, xeet. –  watkinsguy Aug 18 '10 at 17:05
    
Sounds more like a job for AutoIt, than for PowerShell, to be honest. –  Јοеу Aug 18 '10 at 17:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.