C++23 WinAPI
win_path_test- a collection of methods to retrieve the current executable path.create_hard_link- a utility to create a hard link at the path specified in./path.txt.start- a utility to launch the executable located at the path specified in./path.txt.
Usage:
- Either rename one of the examples to
./path.txt, or create./path.txtand write the desired path for testing. - Run
create_hard_link.exeto create a hard link towin_path_testat the path specified in./path.txt. - Now, running
start.exewill launch thewin_path_testinstance located at the path from./path.txt. This allows you to compare how different methods handle relative, long, short, and other Windows-specific paths.
git clone https://github.com/NsPro04/win_path_test.git
.\win_path_test\win_path_test.slnx
Ctrl+Shift+B