Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Request: GetUserPath()

Author
Message
Nieb
10
Years of Service
User Offline
Joined: 13th May 2014
Location: Lurking
Posted: 2nd Apr 2019 19:51 Edited at: 3rd Apr 2019 00:23
Can we get a command that returns the user dir?

For example, "C:/Users/%CurrentUser%/" on Windows 7+.
Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 2nd Apr 2019 19:58
You can get this by using GetDocumentsPath(), and then combine with FindString() and Mid(), Left() or Right().

https://www.appgamekit.com/documentation/Reference/File/GetDocumentsPath.htm
Nieb
10
Years of Service
User Offline
Joined: 13th May 2014
Location: Lurking
Posted: 3rd Apr 2019 00:21
It's hacky, but it works. Thanks.

Login to post a reply

Server time is: 2024-11-23 01:48:27
Your offset time is: 2024-11-23 01:48:27