Home > Back-end >  How to get the path of the folder is located
How to get the path of the folder is located

Time:10-03

For everyone a great god, and I want a folder for it's current path, how to do? GetFilePath or GetFullFilePath is aimed at a specific filename for path! I need large directory, directory is the folder, please

CodePudding user response:

Wrong number above, GetFullPathName, both are for specific file name in the path

CodePudding user response:

# include & lt; System. IOUtils. Hpp>

TPath: : GetDirectoryName (L "C: \ \ Windows \ \ addins");

The return value to "C: \ Windows"

XE 5 debugging OK

CodePudding user response:

Folder, and the current path, really do not understand what you mean, the current folder is in view of the system or the current application.

CodePudding user response:

Path, folder, directory,
The building Lord really want to express?

CodePudding user response:


Is this dialog?
  • Related