REM – Remember to remove line breaks from first two lines
@SET TEMPLATEDIR="%programfiles%/Common Files/Microsoft Shared/web server extensions/12/TEMPLATE"
@SET STSADM="%programfiles%/Common Files/Microsoft Shared/web server extensions/12/BIN/STSADM.EXE"
Echo Copying files
xcopy /e /y TEMPLATE/* %TEMPLATEDIR%
Echo Installing feature
%STSADM% -o InstallFeature -filename HelloWorld/feature.xml -force
Echo Restart IIS Worker Process
IISRESET
pause