1.

Solve : bat file-x button?

Answer»

hello again!!!

is it possible to DISABLE the x-button at the upper-right of the screen in a batch file?

thanks!why?
i will use it in the system that I'm doing in foxpro-dos.

can you please help me sir.

because if somebody use the x-button to clos the system. errors OCCURED on the log-in modeQuote from: night-rider on May 13, 2010, 03:15:30 AM

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. i will try it. thank you!!!


Discussion

No Comment Found