Fix symlinking on Windows cmd

`/j` creates a junction point what is more like a hardlink.  Also, on
Windows the arguments are swapped (link, target).
This commit is contained in:
Christoph M. Becker
2020-12-10 17:30:50 +01:00
parent aa24ddb51f
commit 71278a35b8

View File

@ -74,12 +74,12 @@ $ git clone http://git.php.net/repository/web/php.git /home/sites/myphpnet/
$ ln -s /tmp/phd/output/php-web /home/sites/myphpnet/manual/en
```
Symlinking can still be done on Windows. Just make sure you run `cmd` *as Administrator*.
Symlinking can also be done on Windows. Just make sure you run `cmd` *as Administrator*.
```
$ cd \home\sites\myphpnet\manual\
$ rmdir /S en
$ mklink /J \tmp\phd\output\web-php en
$ mklink /D en \tmp\phd\output\web-php
```
### Run a webserver