[ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5. - page 184

 
alsu:

I gave an example above, try typing it into the command line and see what happens. Only specify your own path to the MT.

Let me give you a hand. What folder do you have MT in and where do you want to write/read it?
 
alsu:

I gave an example above, try typing it into the command line and see what happens. Only specify your own path to the MT.

Thanks wrote the link created, how do I find it and how do I use it?
 
merkulov.artem:

Thank you wrote that the link was created, how do I find it and how do I use it?

Now in the folder where you created the link you have this folder with an arrow. This is sort of an alias for the target folder, which we use to trick the program. It thinks it is going to a folder inside files, but in fact it is going to a different place. That is, if we want to write the file c:\blabla\file.txt and there is a reference to c:\ folder named disk_c in the files folder, we write FileOpen("disk_c\\blabla\\file.txt",...) in the MetaEditor. Corrected - don't forget to escape backslash
 
cd K:\FIBO\experts\files
mklink /D disk_k k:\

I have disk k, wrote all successfully passed the symbol.link created, how do I use it next?

I'll tell the problem, connected two computers via LAN, preferably write to the address:"\\USER2\Users\Public\Documents\Read_Files" if possible. on the other laptop. all access and rights are open without restriction.

 
alsu:

You now have a folder with an arrow in it where you created the link. This is a kind of alias for the target folder, which we use to trick the program. It thinks it is accessing a folder inside files, but in fact it is accessing somewhere else. That is, if we want to write into file c:\blabla\file.txt and there is a reference to c:\ folder named disk_c in the files folder, we write FileOpen("disk_c\blabla\file.txt",...) in the MetaEditor.

I don't have the link there for some reason( maybe it's hidden?
 
merkulov.artem:
cd K:\FIBO\experts\files
mklink /D disk_k k:\

I have disk k, wrote all successfully passed symbol.link created, how do I use it next?

I will tell the problem, connected two computers on the LAN, preferably write to the address:"\\USER2\Users\Public\Documents\Read_Files" if possible. the other laptop. all access and rights are open without restriction.


I don't even know if MQL will understand NetBIOS. Connect your folder with a network drive to be sure (or is k: it?)

 
merkulov.artem:

Need to work outside the terminal folders and I'm trying to do it, I haven't found any more or less compact and working code on the website, I'm picking up the pieces. I have Win7 and everything I found either on XP or Vista works. If you have a link or your own experience I would be grateful. I have been suffering for a long time...
Library.
 
alsu:

I don't even know if MQL will understand NetBIOS. Connect your folder with a network drive to be sure (or is k: it?)



My system drive is C:\ accessed via network shared folders\. And the terminal is on the K:\ drive.
 
Zhunko:
Library.

Vadim, the man has trouble understanding the command line and you give him a library))
 
alsu:
Vadim, the man has trouble understanding the command line and you give him a library))
There are examples in it. Maybe it will help.