Miscellaneous refactorings
Remove call to ConvertToWindowsExtendedPath
which discards the return value.
Remove function declarations which do not have a corresponding definition.
Call GetCommandByExactName
instead of GetCommand
for argument which is already lower case.