View Single Post
  #1 (permalink)  
Old 05-26-2008, 10:18 PM
happytoday
 
Posts: n/a
Execute batch file regardless the operating system
Hello,
I have t different versions of windows XP. One of them on HP machine
and the other on IBM. So I am executing the same batch files on the
same machines but some commands are varied from machine to machine .
Do I have a system variable that contain information about the machine
system and can ce recognized with my batch file ?
I need to execute from inside my batch file for example :


#if def SYS_Variable = IBM
execute date format routine
#else if SYS_Variable = HP
execute another date format routine


Thanks
Reply With Quote
Sponsored Links