Click here to Skip to main content
15,041,025 members
Articles / Programming Languages / C++
Posted 13 Jun 2001


77 bookmarked

Visual Studio Project Renamer

Rate me:
Please Sign up or sign in to vote.
4.79/5 (43 votes)
4 Sep 2001
A utility that renames Visual Studio projects

Sample Image - vsrename.jpg


This is a utility that renames Visual Studio projects.


vsrename <oldname> <newname> <dir>


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.


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


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


About the Author

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

Comments and Discussions

Question15 years later... still using it! Pin
SethR24-Jul-18 20:42
MemberSethR24-Jul-18 20:42 
QuestionDoes NOT work! Pin
Member 1063270529-Apr-14 23:39
MemberMember 1063270529-Apr-14 23:39 
QuestionFreakin' Nice! Pin
Member 1012425424-Jun-13 9:11
MemberMember 1012425424-Jun-13 9:11 
GeneralThanks for VSRenamer Pin
smartsendy349-Dec-12 9:37
Membersmartsendy349-Dec-12 9:37 
QuestionVsproject renamer reloaded with gui Pin
razer2121-Aug-11 5:24
Memberrazer2121-Aug-11 5:24 
AnswerRe: Vsproject renamer reloaded with gui Pin
smartsendy349-Dec-12 9:56
Membersmartsendy349-Dec-12 9:56 
QuestionExcellent little utility!!! Pin
BruceL7-Jul-11 6:54
MemberBruceL7-Jul-11 6:54 
GeneralYour my new best friend. Pin
shaneritchie21-Jan-11 10:23
Membershaneritchie21-Jan-11 10:23 
GeneralRenameVSProject GUI Pin
Anthony Dunk11-Jan-11 12:54
MemberAnthony Dunk11-Jan-11 12:54 
GeneralRe: RenameVSProject GUI Pin
CoreyCooper10-May-11 8:52
MemberCoreyCooper10-May-11 8:52 
GeneralGUI version of vsrename that handles VS2005 projects too Pin
Anthony Dunk25-Jun-08 19:50
MemberAnthony Dunk25-Jun-08 19:50 
GeneralRe: GUI version of vsrename that handles VS2005 projects too Pin
Lee.W.Spencer31-Jul-08 5:00
MemberLee.W.Spencer31-Jul-08 5:00 
GeneralRe: GUI version of vsrename that handles VS2005 projects too Pin
Harold Bamford9-Oct-09 7:44
MemberHarold Bamford9-Oct-09 7:44 
Generalbug with defines Pin
marcelaviles9-Jun-08 3:25
Membermarcelaviles9-Jun-08 3:25 
GeneralExcellent work! Pin
Member 320853420-May-08 21:02
MemberMember 320853420-May-08 21:02 
GeneralYou are the man!!!!! Pin
AlejandroDG2-Oct-07 9:21
MemberAlejandroDG2-Oct-07 9:21 
GeneralWorks Good Pin
s0rce722-Aug-07 8:46
Members0rce722-Aug-07 8:46 
GeneralIt works well in 2003 Pin
LovelyMerino1-Aug-07 15:31
MemberLovelyMerino1-Aug-07 15:31 
Generalvery useful Pin
723Alex26-Jul-07 12:07
Member723Alex26-Jul-07 12:07 
GeneralDude this is awesome Pin
spicalino13-Jul-07 2:16
Memberspicalino13-Jul-07 2:16 
GeneralNo excuse not to rename anymore. Pin
charlieg14-May-07 0:28
Membercharlieg14-May-07 0:28 
GeneralJust used it to rename a VS2005 VB project Pin
Andy Henderson8-Feb-07 0:01
MemberAndy Henderson8-Feb-07 0:01 
Generalexcellent Pin
mark-w10-Nov-06 1:11
Membermark-w10-Nov-06 1:11 
News! Good / Bug Pin
Synetech12-Aug-06 9:15
MemberSynetech12-Aug-06 9:15 
GeneralRe: ! Good / Bug Pin
Anonymuos30-Aug-06 10:41
MemberAnonymuos30-Aug-06 10:41 

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.