Computing.Net > Forums > Programming > Rename file based on content

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Rename file based on content

Reply to Message Icon

Name: eyals
Date: June 30, 2009 at 22:40:32 Pacific
OS: Windows XP/DOS
Subcategory: Batch
Comment:

Hello,

I have 3500 HTML (plain text) files that I want to rename according to the content in line # 4 inside each file from position 30 to 47.

Any help would be appreciated.

Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: ghostdog
Date: June 30, 2009 at 23:41:26 Pacific
Reply:

you can use the vbscript example here(example 3)
usage:

cscript /nologo myscript.vbs

GNU win32 packages | Gawk


0

Response Number 2
Name: eyals
Date: July 2, 2009 at 08:26:00 Pacific
Reply:

EXCELLENT!!!

Thank you very much.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Rename file based on content

Move a XML file based on content www.computing.net/answers/programming/move-a-xml-file-based-on-content/18945.html

Batch file: rename file based on fs www.computing.net/answers/programming/batch-file-rename-file-based-on-fs/16792.html

renaming files with cdate www.computing.net/answers/programming/renaming-files-with-cdate/16303.html