Can you help me with the following problem.
I want to create a directory structure but cannot find how to do it. This is what I want to do :
1. Check if directory "UserData" exist on a particular location.
2. If it doesn't exist, just create a new directory on that location named "UserData"
3. Create a variable which holds the path to the directory
This is what I found to get the directory path :
Code: Select all
DEF FN_GetDirName LOCAL filename% DIM filename% LOCAL 260 SYS "GetModuleFileName", 0, filename%, 260 = @dir$
Once the UserData directory is created, I will create other sub-directories inside it.
Can you please help me with creating the directory completely in code?
Your help will be very much appreciated!
Wish you a very nice day.