I found a solution. Avast has been considering mamep106gui-vc as a virus so I made an exclusion in Avast not to scan the folder which includes this file. It works as it did before. Thanks for the help. Using command lines in a batch file would work too. Thanks everyone.