Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
Functions for manipulating files and directories
Contributed by: Peter Cullen Burbery
Functions for manipulating files and directories.
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["PeterBurbery/FileSystem"]
To load the code after installation, evaluate this code:
Needs["PeterBurbery`FileSystem`"]
Find the size of the current directory:
| In[1]:= |
| Out[1]= |
Find the size of the user base directory:
| In[2]:= |
| Out[2]= |
Express the size in trits, which is like a bit but with three values instead of two:
| In[3]:= |
| Out[3]= |
To find the numerical value of this expression, use N:
| In[4]:= |
| Out[4]= |
Use ceiling to ensure that there are no bits that do not fit into a trit:
| In[5]:= |
| Out[5]= |
Open Google's homepage with the default web browser on your computer:
| In[6]:= |
| Out[6]= |
Open Wikipedia:
| In[7]:= |
| Out[7]= |
Open the main page of the English Wikipedia:
| In[8]:= |
| Out[8]= |
Wolfram Language Version 13.1