i do have a test file in Files Folder
and the script code is:
this file really exists,why it always output false.
i don't see a directory with the name "Users"
because it's a OS with Chinese language
用户 is equals to USers
the computer doesn't have a human mind and he doesn't know that 用户 is equals to USers
report to Servicedesk, See the article MQL5.community - User Memo => 5. Service Desk
用户 is only a display way to show "User"
the computer can find file with "C:\Users\xuzhe\AppData\Roaming\MetaQuotes\Terminal\014058E9AD9F88D0B7755299A7BB6853\MQL4\Files"
i can sure my dir is right,but the script can not run normally.
you can try on your own computer.
i use the TERMINAL_DATA_PATH to make sure the dir is right
and i create this text file by using MetaEditor.
i use the right dir ,but CFile Class does not work
To add comments, please log in or register