w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How to get the current working directory(current working folder) name instead of the path name?

I would use strrchr() using the platform's directory separator, not strtok().

Of course, "current working folder" typically needs to be a full absolute path in order to be useful for file-system access.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.