Reactos

[CMD] Use GetFullPathName instead of copying buffers when resolving executable names master

This properly strips spaces & dots at the end of the file. Fixes the infinite loop with CreateProcess calling cmd over and over with e.g. 'cmd /c "some_script.bat "' Uncovered by recent ShellExecuteEx tests Dedicated to Katayama for the trigger & Hermès for the tests


+2 -2
1 changed file