Forex Forums | ForexLasers.com


Go Back   Forex Lasers Forum > METATRADER FORUM > General MT4 / MT5 discussion


Potential problem in MT4

General MT4 / MT5 discussion


Reply
 
LinkBack Thread Tools Search this Thread
  #1  
Old 11-11-2009, 12:48
Egwig's Avatar
Level IV Lasers Member
 
Join Date: Apr 2009
Location: UK
Posts: 230
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:cool::cool:



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.
:eek:
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT. The time now is 16:50.


Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2020, vBulletin Solutions, Inc.