VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

VBCode file renamer See new version

Shazbot  (1 Submission)   Files/File Controls/Input/Output   Visual Basic 5.0   Beginner   Wed 3rd February 2021

Trys to rename zip file to their submission name.
eg. CODE_UPLOAD105511092000.zip TOO
projectIRC build 47.zip
Bugs: There are many
*Sometimes adds last zip file twice
*Cannot rename files with certain charaters eg _
*Errors when there are more then 1 txt file in the zip
*Relys on the timer for zip operations 5sec works for my computer may need slower for slower machines.
Maybe others
Instructions:
* Make a copy of a few zip files from VBCode and put in a folder
* Point the text box to ur directory (must end with "\"
* Click "Get Zipfiles"
* Wait until finished
* Click "rename files"
Needs:
MS scripting
Winzip
Plz help this project it is so you don't have to go through each one and rename.
*************************************************
Updated: All bugs fixed except for when there are multiple txt files in the zip.
Plz if you have any suggestion on how to only get the txt files that start with "@" plz submit feedback or email me.
Thankyou to Roger Gilchrist for his RStrip and LStrip functions :)
New version at:
https://www.VBCode.com/vb/scripts/ShowCode.asp?txtCodeId=49691&lngWId=1

Inputs
NA

Assumes
See Description

Returns
NA

Side Effects
See Bugs

Rate VBCode file renamer See new version (6(6 Vote))

Download VBCode file renamer See new version

VBCode file renamer See new version Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters