>I want to know how to shutdown the computer in the Window Environment by using a DOS batch file ?
Does it
have to be from a batch file? You can do it from within VFP. In addition to Nadya's suggestion, there's a Microsoft KB article on how to do it:
click here.
Mike Stewart