Computing.Net > Forums > Programming > Need advice on a batch script

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.

Need advice on a batch script

Reply to Message Icon

Name: ScottsDesk
Date: July 16, 2009 at 19:35:33 Pacific
OS: Windows XP
CPU/Ram: SingleCore AMD 2gig Memory
Subcategory: Batch
Comment:

Well I need help writing a batch script to do several things. I need one batch to run in a loop over and over and take screen shots and save them as a jpg. Having a way to email them automatically would be nice too.
The other batch will involve automating and simplifiying the naming, and sizing of our images for our website and database. Right now we have several people involved in handling an image. We have came up with a naming standard, but no one follows it, and by the time they get to me I get to rename all of them the correct way and resize them to the standard size. Involving too much of my time. The main problem is uppercase letters, and hyphens added by whom ever and for no reason. The script would idealy take the image and using Gimp 2 graphic program resize it keeping aspect ratio. The ideal size being 400w x 300h (px). Then the file would be named abc123789xyz.jpg. 12-3789-xYz.JPG is how it comes to me its the product key and xyz is a a code used to identify characteristics of the product. Adding the abc which is the first 3 letters of the manufacturer, taking out the hyphens and making sure all lowercase, and finally putting it in the proper folder is the goal. An example name is coa55230blk.jpg. any advice would be appreciated.



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Please Help renaming file... Batch script and two .reg...



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: Need advice on a batch script

Editing a Hex file using a Batch script www.computing.net/answers/programming/editing-a-hex-file-using-a-batch-script/19381.html

Batch Script Help Needed www.computing.net/answers/programming/batch-script-help-needed/14475.html

Batch script for file copy www.computing.net/answers/programming/batch-script-for-file-copy/14874.html