title: Prime numbers in batch
body: <p>I've been working on a little project using batch files and I've ran into a problem. As far as I'm aware there's no way to run a check to see if a certain variable is a prime number, if I'm wrong would anyone please inform me of how to do so, otherwise, can anyone think of a workaround I could use (like checking if a number is equal to a number on a list of prime numbers on a txt file or whatever).
  Thanks ^^
  (Also it's worth noting I'm not very knowledgeable with batch files so please excuse any idiocy I may present..)</p>