This shows you the differences between two versions of the page.
en:dir [2016/01/01 22:40] 127.0.0.1 external edit |
en:dir [2020/02/28 10:46] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Dir (Function) ===== | ||
- | |||
- | ==== Format ==== | ||
- | **dir** ( )\\ | ||
- | **dir** ( // | ||
- | |||
- | returns // | ||
- | |||
- | ==== Description ==== | ||
- | Open a //folder// to retrieve the names the files or folders that are contained in it. | ||
- | |||
- | ==== Example ==== | ||
- | < | ||
- | f$ = dir(" | ||
- | while f$ <> "" | ||
- | print f$ | ||
- | f$ = dir() | ||
- | end while | ||
- | </ | ||
- | will display something like | ||
- | < | ||
- | $Recycle.Bin | ||
- | autoexec.bat | ||
- | Backup | ||
- | Boot | ||
- | bootmgr | ||
- | Documents and Settings | ||
- | IO.SYS | ||
- | MSDOS.SYS | ||
- | MSOCache | ||
- | pagefile.sys | ||
- | Program Files | ||
- | ProgramData | ||
- | System Volume Information | ||
- | temp | ||
- | Users | ||
- | Windows | ||
- | </ | ||
- | |||
- | |||
- | ==== See Also ==== | ||
- | {{page> | ||
- | |||
- | ==== History ==== | ||
- | |0.9.6.55|New to Version| | ||
- | |||
- | |||
- | |||