As far as I know the DOS system and from what I see in the pic you posted, 
you need to move to C:\ to launch the yara executable since you said the 
Yara folder in in the C drive.
For going back, you'll have to type "cd C:\" (without quotes) which changes 
the current directory then you'll be able to go into the Yara folder by 
using the command "cd Yara_folder_name"
(without quotes) where you'll put your Yara folder name in the place of my 
example Yara_folder_name.
When you'll find the folder that contains the yara.exe file, you'll be able 
to launch the program using "yara my_first_rule my_first_rule".
Let's see an example:
- you have your yara.exe in C:\yara\
- you have your my_first_rule also in C:\yara\
- you open the Command Prompt and it indicates C:\Users\Username\
These are the steps:
- use cd C:\ to move from C:\Users\Username\ to C:\
- use cd C:\yara\ to move from C:\ to C:\yara\ where the yara.exe file and 
the my_first_rule file are
- use yara my_first_rule my_first_rule to launch yara.exe with 
my_first_rule set of rules

You could also type directly cd C:\yara\ to directly move to C:\yara\.

Bye,
Luca

Il giorno lunedì 2 novembre 2015 15:41:36 UTC+1, Shahroz Choudhry ha 
scritto:
>
> Hello. 
>
> I have downloaded yara 3.4.0 as instructed. When i attempt to test yara 
> via CLI i get the following error. The yara folder is in the C drive. 
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"YARA" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to