>I have an application that runs 24x7 on an NT workstation. I occasionally have strange problems after every few weeks, which are forcing me to restart to clear them up. I'm thinking that a nightly reboot will help avoid some of these problems.
>
>How can I force a reboot from VFP5? All the apps should close normally if I use shutdown/restart from the start menu, so if I could emulate the same thing from VFP with no user intervention.... well, that would just be the cat's pajamas!
There is an entry in the FAQ for that on how to exit Windows.