Download MetaTrader 5

question about FileDelete();

To add comments, please log in or register
vindd
9
vindd  

hi everyone, i want to delete the file in sub directory ...\Files\dir\testInDir.csv

FileDelete("dir\testInDir.csv"); // not working
 
FileDelete("testInFiles.csv"); // it's working

however, It is not working and i can't find where is the bug...

whroeder1
17111
whroeder1  
FileDelete("dir\testInDir.csv"); // not working

You are trying to delete dir<TAB>estInDir.csv which does not exist.

Any special character constants can be written in a string, if the backslash character (\) is typed before them.
          Language Basics / Data Types / String Type - Reference on algorithmic/automated trading language for MetaTrader 5
vindd
9
vindd  
whroeder1:

You are trying to delete dir<TAB>estInDir.csv which does not exist.


it works! thx alot !

To add comments, please log in or register