Edit file in ms-dos
问题 Can this be done? Basically I work on multiple projects using xampp, and I like http://localhost to be the project root ( rather than http://localhost/project_name/ ) Problem is, i have to open the httpd.conf file in the apache folder, change the document root, then restart apache! I was wondering if this could be done in ms-dos? say I write a batch file that: opens the file, finds the document root, changes it, stop apache, start apache Then all i would need to do is open the cmd prompt, and