VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



VBCode file renamer See new version

by Shazbot (1 Submission)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

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
Code Returns
NA
Side Effects
See Bugs

Rate VBCode file renamer See new version

Download VBCode file renamer See new version

Download VBCode file renamer See new version (3 KB)

VBCode file renamer See new version Comments

No comments have been posted about VBCode file renamer See new version. Why not be the first to post a comment about VBCode file renamer See new version.

Post your comment

Subject:
Message:
0/1000 characters