Click here to Skip to main content
15,880,405 members
Articles / Programming Languages / C++
Article

Visual Studio Project Renamer

Rate me:
Please Sign up or sign in to vote.
4.81/5 (44 votes)
4 Sep 2001 317.5K   8.9K   77   72
A utility that renames Visual Studio projects

Sample Image - vsrename.jpg

Introduction

This is a utility that renames Visual Studio projects.

Usage:

vsrename <oldname> <newname> <dir>

Where:

oldname : The old name of your project (typically the xxx from xxx.dsw)
newname : The new name for your project
dir : The directory tree that holds the project.

This program will replace all occurences of oldname to newname in all files and rename all filenames that have the old name in it. It will walk subdirectories.

Use with care and on your own risk! Make backups before you use this program. Do a 'rebuild all' on your renamed project.

History

5.Sep.2001 v0.5

  • Source code released.

30.Jun.2001 v0.4

  • Better handling of binary files. They should be alright after renaming the project.

15.Jun.2001 v0.3

  • Better renaming of projects with the same name in it, so you can rename a project from 'myproject' to 'supermyproject'. It should go ok.

14.Jun.2001 v0.2

  • Added renaming of main project directory

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Netherlands Netherlands
Niek is the founder and programmer of DaanSystems.com and is working on many projects all the time. He makes a living by doing contractwork for others.

Comments and Discussions

 
GeneralBe carefull if your project is called Tom or something else... Pin
azera28-Jul-03 23:08
azera28-Jul-03 23:08 
GeneralVery neat! Pin
Fredrik Skog10-Jul-03 1:41
Fredrik Skog10-Jul-03 1:41 
GeneralError-Handling with write-protected files Pin
Anonymous13-Mar-03 3:00
Anonymous13-Mar-03 3:00 
GeneralOne small bug in V0.5 Pin
jerry0davis28-Feb-03 0:08
jerry0davis28-Feb-03 0:08 
GeneralI can't believe .... Pin
charmless5-Jun-02 5:06
charmless5-Jun-02 5:06 
GeneralRe: I can't believe .... Pin
Gero Gerber9-Jun-02 12:44
Gero Gerber9-Jun-02 12:44 
GeneralGreat program!!! Pin
22-Apr-02 2:34
suss22-Apr-02 2:34 
GeneralExcellent! Pin
Matt Gullett27-Feb-02 4:34
Matt Gullett27-Feb-02 4:34 
I have been using your little utility alot lately. I have needed to copy and rename various projects (10+) and this little program has saved me countless hours. It has worked perfectly so far!

Thanks!
GeneralNew Version 1.03 Pin
29-Aug-01 21:09
suss29-Aug-01 21:09 
GeneralThat's a whole different program! Pin
30-Aug-01 22:48
suss30-Aug-01 22:48 
GeneralSuperb!! Worked first time Pin
James Spibey12-Jul-01 3:01
James Spibey12-Jul-01 3:01 
GeneralRe: Superb!! Worked first time Pin
1-Sep-01 19:59
suss1-Sep-01 19:59 
GeneralRe: Superb!! Worked first time Pin
brian scott28-Sep-01 7:32
brian scott28-Sep-01 7:32 
GeneralBugfix: Resources damaged! Pin
21-Jun-01 6:36
suss21-Jun-01 6:36 
GeneralRe: Bugfix: Resources damaged! Pin
30-Jun-01 2:25
suss30-Jun-01 2:25 
GeneralRe: Bugfix: Resources damaged! Pin
2-Jul-01 22:26
suss2-Jul-01 22:26 
GeneralRe: Bugfix: Resources damaged! Pin
5-Jul-01 8:31
suss5-Jul-01 8:31 
GeneralRe: Bugfix: Resources damaged! Pin
5-Jul-01 21:48
suss5-Jul-01 21:48 
GeneralRe: Bugfix: Resources damaged! Pin
12-Jul-01 4:23
suss12-Jul-01 4:23 
GeneralEnd: Resources damaged! Pin
3-Aug-01 0:31
suss3-Aug-01 0:31 
GeneralI try in vain to run this utility, need some help! Pin
19-Jun-01 21:08
suss19-Jun-01 21:08 
GeneralRe: I try in vain to run this utility, need some help! Pin
Anonymous13-Sep-02 5:34
Anonymous13-Sep-02 5:34 
GeneralSource code or GUI Pin
Arnaud Brejeon14-Jun-01 15:33
Arnaud Brejeon14-Jun-01 15:33 
GeneralRe: Source code or GUI Pin
Simon Capewell14-Jun-01 22:36
Simon Capewell14-Jun-01 22:36 
GeneralRe: Source code or GUI Pin
Arnaud Brejeon14-Jun-01 22:48
Arnaud Brejeon14-Jun-01 22:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.