guys, because the shutdown command has different switches in xp and windows 7: xp use -r, and win 7 uses /r, so I need to check for os type before running the correct shutdown syntax, I know that for xp I could use %os%==windows_nt, but what would be that case for windows 7? is it the same?... how to differentiate the two with script?
Login or Sign Up
- Log in with