Basic Examples (3)
Basic Examples
(3)
Make sure the parent directory of a file exists:
In[312]:=
Out[312]=
/Users/richardh/path/to/file.txt
In[313]:=
DirectoryQ["path/to"]
Out[313]=
True
———
Ensure a file path for a :
In[315]:=
Out[315]=
In[316]:=
DirectoryQ[CloudObject["path/to"]]
Out[316]=
True
———
Ensure a file path for a :
In[320]:=
Out[320]=
LocalObject[file:///Users/richardh/Library/Wolfram/Objects/path/to/file]
In[321]:=
DirectoryQ["/Users/richardh/Library/Wolfram/Objects/path/to"]
Out[321]=
True
Scope (4)
Scope
(4)
Applications (1)
Applications
(1)
Possible Issues (1)
Possible Issues
(1)