hello again!!!
is it possible to disable the x-button at the upper-right of the screen in a batch file?
thanks!
Yes it's possible. Couldn't find anything in batch, or an object in VBScript that supported that property. Found VB code
here and a download that works (tested it myself)
here.
If you choose the download, read the text file on which parameter to use. The /1 switch seems to be the one you'll need.
You'll need to disable the x-button ahead of any code for your foxpro-dos logic. If you don't need the cmd window at all, it's possible to to eliminate it completely by using a VBScript wrapper.
Good luck.