Click here to Skip to main content
15,889,216 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 319.2K   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

 
Generalbug with defines Pin
marcelaviles9-Jun-08 3:25
marcelaviles9-Jun-08 3:25 
GeneralExcellent work! Pin
Member 320853420-May-08 21:02
Member 320853420-May-08 21:02 
GeneralYou are the man!!!!! Pin
AlejandroDG2-Oct-07 9:21
AlejandroDG2-Oct-07 9:21 
GeneralWorks Good Pin
s0rce722-Aug-07 8:46
s0rce722-Aug-07 8:46 
GeneralIt works well in VS.net 2003 Pin
LovelyMerino1-Aug-07 15:31
LovelyMerino1-Aug-07 15:31 
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 
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 

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.