Download MetaTrader 5
To add comments, please log in or register
The entire MQL5.community history on a single page!
investeo
4090
investeo 2010.05.25 19:41 

Hi there,


The question is for Windows VISTA (probably WIN7 too)


IS there any solution to avoid placing MetaTrader5 user files directory in AppData\Roaming|MetaQuotes\Terminal\xxxxxxxxxxxxxxxxxxxxx folder?


What I have is 4 instances of MT5 on my Vista box and getting to know which folder belongs to which instance is a pain in the a** :


"C:\Documents and Settings\Przemek\AppData\Roaming\MetaQuotes\Terminal\4569751B1B5D4078FE4A826D09E9D77B"

"C:\Documents and Settings\Przemek\AppData\Roaming\MetaQuotes\Terminal\\D8E196A488CAFD45BB0BBB0BC09A258A" 


I would prefer to have all files stored in appropriate MT5 installation directory like I had in WinXP eg.:


D:\MT5\Instance1

D:\MT5\Instance2

D:\MT5\Instance3


etc.

Documentation on MQL5: File Functions / FileSize
  • www.mql5.com
File Functions / FileSize - Documentation on MQL5
danielth
63
danielth 2010.05.25 21:05  
investeo:

Hi there,


The question is for Windows VISTA (probably WIN7 too)


IS there any solution to avoid placing MetaTrader5 user files directory in AppData\Roaming|MetaQuotes\Terminal\xxxxxxxxxxxxxxxxxxxxx folder?


What I have is 4 instances of MT5 on my Vista box and getting to know which folder belongs to which instance is a pain in the a** :


"C:\Documents and Settings\Przemek\AppData\Roaming\MetaQuotes\Terminal\4569751B1B5D4078FE4A826D09E9D77B"

"C:\Documents and Settings\Przemek\AppData\Roaming\MetaQuotes\Terminal\\D8E196A488CAFD45BB0BBB0BC09A258A" 


I would prefer to have all files stored in appropriate MT5 installation directory like I had in WinXP eg.:


D:\MT5\Instance1

D:\MT5\Instance2

D:\MT5\Instance3


etc.


 

I asked the same question already. The answer was to add " /portable" in the command line shortcut like this "C:\MT5\terminal.exe /portable" 

investeo
4090
investeo 2010.05.25 23:54  
danielth :

I asked the same question already. The answer was to add " /portable" in the command line shortcut like this "C:\MT5\terminal.exe /portable" 


I must have missed that one. Thanks!

siscop
9
siscop 2010.06.06 14:41  

On my WinXP everything works without /portable inside the installation folder.

Thank you for the information and it works now with " /portable" on my Win7.

The only thing missing now ist the Backtester. It still writes on the roaming folder.

"2010.06.06 12:35:30    Core 1    Log file "C:\Users\rechnersack\AppData\Roaming\MetaQuotes\Tester\6F9C869F6858C85D7809F35BE65FFDE3\Agent-127.0.0.1-3000\logs\20100606.log" written"





Sameer
795
Sameer 2011.02.14 15:36  


Didn't work for me ! 



investeo
4090
investeo 2011.02.14 15:38  
t4fast:


Didn't work for me ! 



use double quotes
Sameer
795
Sameer 2011.02.14 19:06  
investeo:
use double quotes
Thanks, but didn't work
Sameer
795
Sameer 2011.02.14 23:38  

i've moved the folder outside Program files

and added after the whole line >> "C:\MT5\terminal.exe "  /portable


it works now  :)

Joshua Graham
955
Joshua Graham 2011.11.14 12:24  

Here's a million-dollar question:  why isn't metaquotes using this "portable" technique as the default?  what does the user gain by using additional folders in the C:\Windows\System32\config\

systemprofile\AppData\Roaming\MetaQuotes\Terminal\A91E9324DA2462A698DE858C48A53B9E\ folder?

I spend 6 hours trying to figure this out, as mt5 was the only program doing this.

edit: metaquotes has advised to run program as administrator.  But the mt5 program was installed on while logged in as administrator, and is being run on administrator account on win 2008 vps.

Never had this problem with mt4.

Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Running MQL5 Program Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Environment State / Running MQL5 Program Properties - Documentation on MQL5
/
To add comments, please log in or register