You have to type something like the following to your command line:
C:\php\php.exe C:\apache\htdocs\dokuwiki\bin\indexer.php
Of course it depends where your files are stored. The first part defines where php.exe is, the second is the argument (= the file which should be executed) which is given to php.