Click here to Skip to main content
15,868,076 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 316.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

 
BugNot working: backslash and forward slash confusion Pin
Member 1597751712-Apr-23 18:29
Member 1597751712-Apr-23 18:29 
Question15 years later... still using it! Pin
SethR24-Jul-18 20:42
SethR24-Jul-18 20:42 
QuestionDoes NOT work! Pin
Member 1063270529-Apr-14 23:39
Member 1063270529-Apr-14 23:39 
QuestionFreakin' Nice! Pin
Member 1012425424-Jun-13 9:11
Member 1012425424-Jun-13 9:11 
GeneralThanks for VSRenamer Pin
smartsendy349-Dec-12 9:37
smartsendy349-Dec-12 9:37 
QuestionVsproject renamer reloaded with gui Pin
razer2121-Aug-11 5:24
razer2121-Aug-11 5:24 
AnswerRe: Vsproject renamer reloaded with gui Pin
smartsendy349-Dec-12 9:56
smartsendy349-Dec-12 9:56 
QuestionExcellent little utility!!! Pin
BruceL7-Jul-11 6:54
BruceL7-Jul-11 6:54 
GeneralYour my new best friend. Pin
shaneritchie21-Jan-11 10:23
shaneritchie21-Jan-11 10:23 
GeneralRenameVSProject GUI Pin
Anthony Dunk11-Jan-11 12:54
Anthony Dunk11-Jan-11 12:54 
GeneralRe: RenameVSProject GUI Pin
CoreyCooper10-May-11 8:52
CoreyCooper10-May-11 8:52 
GeneralGUI version of vsrename that handles VS2005 projects too Pin
Anthony Dunk25-Jun-08 19:50
Anthony Dunk25-Jun-08 19:50 
GeneralRe: GUI version of vsrename that handles VS2005 projects too Pin
Lee.W.Spencer31-Jul-08 5:00
Lee.W.Spencer31-Jul-08 5:00 
GeneralRe: GUI version of vsrename that handles VS2005 projects too Pin
Harold Bamford9-Oct-09 7:44
Harold Bamford9-Oct-09 7:44 
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 

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.