Switch root www
directories easily without renaming folders
- Move bin/projectswitch.exe to WAMP installation directory (ex: C:\wamp) and run.
- On first run program will automatically create
webx
folder, where you will store your root directories. Currentwww
folder will be moved towebx
. - Enter your project name (for example
foo-bar
) and press Enter. Ifwebx\foo-bar
does not exist, program will automatically create it. - Now your root folder is
webx\foo-bar
. Treat it likewww
directory (http://localhost/test.html
iswebx\foo-bar\test.html
). - To switch to a new (or already existing project in webx), just run the program again and enter new or other existing project's direcory name.
- For example, if you enter
john-doe
, nowhttp://localhost/test.html
will bewebx\john-doe\test.html
(Previous project files will not be affected).
Use only A-Za-z0-9
and .-_
chars (Do not use spaces)