Demo_FileSize - MetaTrader 5 Script | Trading Script Download - MT4/MT5 Resources
This script sorts all CSV files in the common folder of all clients one by one to get their size. After getting the size, compare its value with the "InpThresholdSize" threshold and place the file in the "InpBigFolderName" or "InpSmallFolderName" named folder depending on the result. Thereby sorting large and small size files.
In addition to using the FileSize () function, there is also the FileFindFirst (), FileFindNext () and FileFindClose () functions used in the script to sort files, and the FileMove () function to move them.
Attachment download
📎 demo_filesize.mq5 (3.12 KB)
Source: MQL5 #1633
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •