in reply to how to recognize windows and linux os
Thanks Everybody for the reply. It is unfair to pick up just one of the solutions but i have to. I will use solution provided by radiantmatrix as i am aware of the files that i am going to handle. In this way i am double check that my input file does exists along with os detection.