This article presents two methods in C++ to obtain the path and name of the currently running executable. The first uses command-line arguments (argv[0]) and string manipulation to extract the information. The second employs a custom `PathUtil` class, leveraging `GetModuleFileNameA` to retrieve the full path and then parsing it to separate the filename. Both methods provide solutions for acquiring both the executable's path and its name.