error in verify/compile software in IDE

error
exec: "C:\Users\anirudh\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++": file does not exist
Error compiling.

I have been using the IDE for some time in Windows 7. Recently I have installed Windows 10 and since then getting this issue. I am using Arduino Due IDE version 1.6.6 and tried Also Genuino IDE. full set of copied error is attached as error.text

I have made a simple sketch for testing by commenting all the statements but 2 . The sketch is attached as sketch for testing.txt

sketch for testing.txt (742 Bytes)

error.txt (173 Bytes)

The smallest Arduino program that will compile successfully is

void setup() {
}

void loop() {
}

Your code seems to have neither.

It is much easier if you include short programs directly in your post so we don't have to download them, save them and then open the file.

...R

Needs fewer comments and more braces.

Sorry no help by the above answers. problem remains. cleaner sketch with fewer comments and smaller error line given below.
error:
C:\Users\SS Prasad\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1\bin\arm-none-eabi-ar: unable to rename '{archive_file_path}'; reason: File exists
Error compiling.

Code:
int ir1=50;//ir1 connected to pin 50
int motorFl = 53;//IN1 Pin 2
int motorRl = 52;//IN1 Pin 7
int pwml = 2;//EN pin 9
int pwmr = 3;//EN Pin 1
int motorFr = 29;//IN 2 Pin 15
int motorRr = 32;//IN 2 Pin 10
void setup()
{
pinMode(53, OUTPUT);
pinMode(52, OUTPUT);
pinMode(29, OUTPUT);
pinMode(28, OUTPUT);
pinMode(50, INPUT);
}
void loop()
{
while(LOW==digitalRead(ir1))
{digitalWrite(motorFl, HIGH);
digitalWrite(motorRl, LOW);
digitalWrite(motorFr, HIGH);
digitalWrite(motorRr, LOW);
analogWrite(pwmr, 128);
analogWrite(pwml, 128);
}
{HIGH==digitalRead(ir1);
digitalWrite(motorFl, LOW);
digitalWrite(motorRl, HIGH);
digitalWrite(motorFr, LOW);
digitalWrite(motorRr, HIGH);
analogWrite(pwmr, 64);
analogWrite(pwml, 64);
delay (1000);
analogWrite(pwmr, 0);
analogWrite(pwml, 0);
delay(5000);
digitalWrite(motorFl,HIGH);
digitalWrite(motorRl,LOW);
digitalWrite(motorFr,LOW);
digitalWrite(motorRr,LOW);
analogWrite(pwmr, 64);
analogWrite(pwml, 0);
delay(1000);}}

Please help.

problem remains.

That's not the same problem, so it cannot be said to remain.
If you can't be bothered to read a few simple rules and apply them, what makes you think we can be bothered to help you?

The same code was working on IDE 1.6.5

 while(LOW==digitalRead(ir1))
    {digitalWrite(motorFl, HIGH);

MightIsuggestthatyougetyourspacebarfixed?

This is a Windows file permission problem by the look of it.

Fixing space bar may not be the issue as I have tried both with or without. I think that some windows upgrade has caused the issue. So I agree that it might be a windows file permission issue. What should I do for it?

Re-install the ide.