If you try to open a database or access a file that does not exist, anĮrror occurs. One use of the Dir$ function is to determine whether a file exists. Of the Dir$ function is as follows : stringvar = Dir$(path) Finding Files The path to all the files in the root directory of drive C having a DWG extension. A path can include the name of aĭirectory, a specific file name, or both. You can use the Dir$įunction to retrieve a list of one or more operating system files that Like the Dir command at an MS-DOS command prompt. One useful file function is the Dir$ function.
0 Comments
Leave a Reply. |