Rename virtual directory on Windows Server 2008 (IIS7 )

I found a way to do this using the built in appcmd.exe tool. If you wanted to change your virtual directory “Images” inside your application “OldApplicationName” type this into the command line.

%systemroot%\system32\inetsrv\appcmd set vdir "Default Web Site/OldApplicationName/Images" -path:/Images2

More details, including how to rename applications here: http://www.foliotek.com/devblog/rename-applications-and-virtual-directories-in-iis7/

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)