OPEN with No Path Defaults to Current Folder; CHDIR Changes (42368)
This article was previously published under Q42368
SUMMARY
When you OPEN a data file for INPUT, random, or APPEND access in
Macintosh QuickBASIC and specify no folder or disk path, QuickBASIC
looks for the file in the "current folder."
In interpreted programs, the "current folder" defaults to the folder
where QuickBASIC itself is running. In compiled programs, the "current
folder" defaults to the folder where the compiled application is
running.
You can use the CHDIR statement to change the current folder to any
path, such as to the location of the data file that is being opened.
| Modification Type: |
Minor |
Last Reviewed: |
1/8/2003 |
| Keywords: |
KB42368 |
|