Guest jj_astral Posted May 15, 2008 Posted May 15, 2008 Hey Guys,I'm completely new to VBScript, but thing I'm trying to do is pretty simple:Example:I have a directory which contains some files and subfilders, subfolders contain files too, I want to write a script, after executing which will rename to some specified name all files and subfolders in that directory. So if i have file in directory called: "123.txt" I want it to be renamed for example "abc.txt"(and also all other files and subfolders renamed to "abc" too...)Any kind of help aprecciated,Thanks...
Yzöwl Posted May 15, 2008 Posted May 15, 2008 Could you try to explain a little better please, perhaps with an example folder and file structure and an expected end result!
joe43wv Posted May 15, 2008 Posted May 15, 2008 Hey jj,Try here.http://www.microsoft.com/technet/scriptcen...05/hey1128.mspx
Guest jj_astral Posted May 17, 2008 Posted May 17, 2008 Hey jj,Try here.http://www.microsoft.com/technet/scriptcen...05/hey1128.mspxThanks Joe, I've done some modification to that code and now it works!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now