Compiling and running Arduino sketch from command line

Hello,

I have a simple arudiono sketch (move1.ino)

int motor = 7;
void setup() {
// initialize the digital pin as an output.
pinMode(motor, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(motor, HIGH);
delay(5000);
digitalWrite(motor, LOW);
delay(5000);
}

I want to compile and run this file from the command line instead of the IDE. So I followed the steps mentioned here Arduino Playground - WindowsCommandLine

I tried in the command line abuild -c move1.ino , but I get the following error :

The system cannot find the path specified.
avr-g++: move1.ino: linker input file unused because linking not done
abuild.bat: *** ERROR: cannot compile move1.ino using command:
abuild.bat: *** ERROR: avr-g++ -c -g -Os "-IC:\Program Files (x86)\Arduino\hard
are\cores\arduino" -I"D:\Arduiono\New folder\move1" -I"D:\Arduiono\New folder
bj" -mmcu=ATmega328 -DF_CPU=16000000 -DABUILD_BATCH=1 -fno-exceptions move1.ino
-o.\obj\move1.cpp.o

I am a newbie in Arduino, so I don't understand what the error mean or how can I solve it , and I didn't find much help on the internet . So if anyone can help me I would be greatful.

Thanks

This:

I want to compile and run this file from the command line instead of the IDE.

and this:

I am a newbie in Arduino

don't go together.

On the other hand, C:\Program Files (x86)\Arduino\hardare\cores\arduino probably doesn't exist on your computer. It doesn't on mine. hardware, yes.

Being newbie and want to compile from the command line, can go together as I am a developer and part of a team who has previous experience in Arduiono, and we are working together in a project.

And yes the path is C:\Program Files (x86)\Arduino\hardware\cores\arduino , a letter was missing when I copied from the command line.

I just need to understand what the error mean, or if there are any helpful resources to do this, as I didn't find.

Thanks again.