How can I use appcmd in IIS7 to set the physical path of a website?
Something like...
appcmd set site summit /[path='/'].path:c:\newpath
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communityTry something like:
appcmd.exe set config -section:system.applicationHost/sites /[name='My Site'].[path='/'].[path='/'].physicalPath:"c:\newpath" /commit:apphost