Download Demo/InFile/InDir.txt from hschumann2/TempleOS-Source-Code: direct link, hf CLI and curl.
- Browser
- Download file 331 Bytes
-
https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Demo/InFile/InDir.txt
- Command line
-
hf download hf://datasets/hschumann2/TempleOS-Source-Code/Demo/InFile/InDir.txt
-
curl -L -o InDir.txt https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Demo/InFile/InDir.txt
331 Bytes
| /* To run this, do a directory, right click on | |
| this file's name and sel "InFile". | |
| Or, type InFile(filename); | |
| See InFile in the glossary for more info. | |
| */ | |
| I64 i; | |
| for (i=0;i<3;i++) | |
| "Dir;\n"; | |
| "$RED$//Press a letter to complete the mask$FG$\n"; | |
| "Dir(\"*."; | |
| I64 ch=GetChar(,FALSE); //Prompt for first digit of mask | |
| "%c*\");\n",ch; | |