Go Back   Forex Forum | Forex trading, brokers reviews, MT4 robots EA, news, education, signals | ForexMoments.com > METATRADER FORUM > General MT4 / MT5 discussion

.

General MT4 / MT5 discussion Metatrader 4 / 5 platform questions, discussion, including MQL4, MQL5 programming, coding, tutorials.

Potential problem in MT4


» Preferred Broker
» Broker Ratings
MG FOREX
www.mgforex.com
MARKETIVA
www.marketiva.com
FBS
www.fbs.com
REALTIME FOREX
www.realtimeforex.com
FXSOL
www.fxsol.com
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-11-2009, 11:48
Egwig's Avatar
Senior Member
 
Join Date: Apr 2009
Location: UK
Posts: 223
Default Potential problem in MT4

I came across an interesting item on another forum.

It referred me to a website with the following advice:-

I was not aware of this potential problem.

Egwig



How do I delete my MT4 log files to keep my disk from filling up?


Solution Some subscribers may want to delete their MT4 log files periodically to prevent the VE disk from becoming full, which can lead to serious issues.

It is easy to do with a scheduled script.

Here is how:



Open notepad and enter the following line exactly as it is here:


del /S "C:\Program Files\*.log"


Save the file to your C drive as-

deletefiles.BAT


Now to configure the script to run on schedule go to...


start->control panel->Scheduled Tasks->add a task

or

start>Administrative Tools>Task Scheduler


Click "Next" then "Browse"

Navigate to the file you just saved,

C:\deletefiles.BAT and select it

Under "Perform this task", select "daily" and click "next"

Set a time to run the batch and click next.

In the user name field, enter "Administrator"

Enter your Administrator password in the password fields

Click "Finish"



The MT4 log files will now be deleted every day at the time above.
Note the current log file will not be deleted as it will be in use.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
MT4 indicator problem Henry Indicators 0 13-04-2010 14:26
Dubai's problem!!! erik2966 Forex Discussion 3 01-12-2009 17:45

» Site Navigation
» ================
» OUR PARTNER SITES
» Broker Preferred
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Free Forex Guide
Powered by vBadvanced CMPS v3.2.1


All times are GMT. The time now is 19:18.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 RC1