I'm developing one application. Some path have to be changed on the whole project. The path are fixed and the files can be edited (it is in .cshtml
).
So I think I can use a batch file to change all the http://localhost.com
to http://domain.com
for example (I know relative and absolute path, but here I HAVE to make that.
I want to use this script in many computers, so I don't want to install an application and use that app with a script... Just run .bat and that's it...
So if you have code that can make that changes in files, it could be marvellous!
To complete my question, here it is the path of files and dir
MyApp MyApp/Views MyApp/Views/Index/page1.cshtml MyApp/Views/Index/page2.cshtml MyApp/Views/Another/page7.cshtml ...