Click here to Skip to main content
15,886,258 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 318K   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

 
Generalvery useful Pin
723Alex26-Jul-07 12:07
723Alex26-Jul-07 12:07 
GeneralDude this is awesome Pin
spicalino13-Jul-07 2:16
spicalino13-Jul-07 2:16 
GeneralNo excuse not to rename anymore. Pin
charlieg14-May-07 0:28
charlieg14-May-07 0:28 
GeneralJust used it to rename a VS2005 VB project Pin
Andy Henderson8-Feb-07 0:01
Andy Henderson8-Feb-07 0:01 
Generalexcellent Pin
mark-w10-Nov-06 1:11
mark-w10-Nov-06 1:11 
News! Good / Bug Pin
Synetech12-Aug-06 9:15
Synetech12-Aug-06 9:15 
GeneralRe: ! Good / Bug Pin
Anonymuos30-Aug-06 10:41
Anonymuos30-Aug-06 10:41 
GeneralRe: ! Good / Bug Pin
Synetech25-Jan-09 14:10
Synetech25-Jan-09 14:10 
No, but my custom project-wizard does. Wink | ;)

--
Synetech

GeneralGreat Work!! Pin
Ganesh_NV22-May-05 23:12
Ganesh_NV22-May-05 23:12 
GeneralAwesome! This is the bomb! Pin
Programmer_Chris30-Oct-04 21:48
Programmer_Chris30-Oct-04 21:48 
GeneralRe: Awesome! This is the bomb! Pin
Marco Incalcaterra24-Jan-05 8:17
Marco Incalcaterra24-Jan-05 8:17 
Generalworked for me Pin
Mandalay29-Jul-04 10:17
Mandalay29-Jul-04 10:17 
GeneralRe: worked for me Pin
pflei16-Sep-04 9:01
pflei16-Sep-04 9:01 
Generalbeginer Pin
dnqhung12-Jun-04 20:18
dnqhung12-Jun-04 20:18 
GeneralFantastic! Pin
sofia hiromi14-May-04 4:01
sofia hiromi14-May-04 4:01 
Generalbetter program for renaming Pin
sshd25-Mar-04 2:58
sshd25-Mar-04 2:58 
GeneralRe: better program for renaming Pin
John M. Drescher5-Apr-04 5:46
John M. Drescher5-Apr-04 5:46 
GeneralRe: better program for renaming Pin
Carl Chipman1-Jul-08 4:48
Carl Chipman1-Jul-08 4:48 
GeneralIt cant change the project Name Pin
iffi99216-Nov-03 19:51
iffi99216-Nov-03 19:51 
QuestionRe: It cant change the project Name Pin
David Crow21-Jul-06 9:45
David Crow21-Jul-06 9:45 
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 

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.