Code: Select all
gMyDir.s = "~/mydir"
Debug CreateDirectory(gMyDir.s)
The problem lies in the "~" which is the wildcard to the home directory. It works with a fully qualified path, i.e. "/home/user/mydir", but I won't know this so how can I achieve this directory creation with the wildcard?
Thanks




