rmdir, rd
This function removes a directory. It will only work
Both rmdir and rd do exactly the same.
These functions are ideally suited for interactive use.
Indirect parameter passing is disabled
1
No. | Type | Description |
---|---|---|
1 input |
string | direcory name Specify the name of an existing and empty directory. |
Specified working directory does not exist, is not empty or is not accessible, will be printed out as a short message
include( Short Commands Library );
md( My Folder 1 ); // Create 5 directories
mkdir( My Folder 2 ); // Create 5 directories
if (system info[operating system]=Windows)
system( 'dir /W "My Folder*"' ); // Show directory listing
else:
system( "ls 'My Folder'* " ); // Show directory listing
rmdir( My Folder 1 );
rd( My Folder 2 );
Datenträger in Laufwerk C: ist Windows
Volumeseriennummer: 96E3-BA76
Verzeichnis von C:\Users\zur-b\OneDrive\Documents\Programme\Beyond4P\B4P_Docu_Maker
[My Folder 1] [My Folder 2]
0 Datei(en), 0 Bytes
2 Verzeichnis(se), 58’263’068’672 Bytes frei