Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Folks, I have a user enlisting my assistance.
Here's what he wants to do:
- rename files in batch mode;
- searching .doc files for text strings and copying adjacent text to a spreadsheet.What methods do you folks recommend? I'm not a programmer, but he's learning. :)
Thanks.
Life is more painless for those who are brainless.

Are you asking for the suggested programming language/platform and approach to take OR are you asking for software recommendations to complete teh above tasks?
There are a ton a free utilities out there to accomplish this.
For renaming, it depends of "how" you want to batch them. If all the files going to have the same base name with a unique id (e.g. file (1).jpg, file (2).jpg, file (3).jpg, etc) then you can do that with windows. Select all the files and right-click then select rename. You will rename a single file and when you hit enter all the other files that were selected will be given the same name with unique numbers.
For searching .doc files a good desktop search engine is what you want such as Google Desktop or Windows Desktop Search
Michael J

Well, his exact request was:
"I will be doing some file manipulations and want to choose an appropriate
coding environment."Thanks for the suggestions, Michael. I'll forward them to the user. I appreciate the assistance.
Life is more painless for those who are brainless.

Well, most of my programming experience is web based. I would *guess* that a good choice would be VB or VB.net.
Michael J

FOr those tasks, i think you need more of a batch procesing file or script. some sort of shell script or REXX script?

uli, could you give me an example: I really am lost when it comes to programming.
Thanks.
Life is more painless for those who are brainless.

"uli, could you give me an example: I really am lost when it comes to programming."
Ok, I'm lost now. I thought your friend was going to do the coding and was asking for suggestions. Is your friend asking you to build something for him? If so, there are plenty of apps that already exist as I already stated. Could you provide specifics on how he wants this functionality to work - I might be able to provide some solutions.
Michael J

What is the target system that this needs to run on; Windows, Linux, or other?
Are the .doc files plain text files or are they MS Word or similar documents?
Do you need to edit an existing spreadsheet or create a new one?
How do you want to format the new filenames?

Not obvious how a 'shell script' will run in XP.
If the .DOCs are M$word, you may be able to import them [or is it OPEN or paste special] in Excel.
=====================================
If at first you don't succeed, you're about average.M2

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |