General information
Category:
Coding, syntax & commands
Title:
SET DEFAULT question
Don't ask why, but my app has never had a SET DEFAULT. Do most applications have a SET DEFAULT? Now for the first time in 3 years it has caused a problem with creating a MKDIR that only specifies the directory name and not the complete path. All the clients have a shortcut on their desktop to the app and that is how they execute it, so the MKDIR creates the directory on their desktop. I want the directory in the app folder.
I have added the following lines of code in my MAIN.PRG, but the MKDIR is still created on the desktop. First, how can I tell what is the value of SET DEFAULT? Second, what is it that I am doing wrong to set the default to the folder that contained the application?
sys_default = sys(5) + curdir()
set default to (sys_default)
Thanks
Brenda
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only