Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows BATCH: How to disable QuickEdit Mode for individual scripts?

QuickEdit mode can be useful if you wish to quickly highlight and copy text directly from the command prompt instead of redirecting output to a file. However, it has its drawbacks. If you have a batch script running, selecting text in the console will pause the script execution until the text is deselected. This can be a problem if the script is expected to continue without pause.

How can one disable QuickEdit mode for certain BATCH scripts?

like image 841
Lectrode Avatar asked Feb 16 '14 00:02

Lectrode


1 Answers

A way that will affect the current command prompt session.

Here's quickEdit.bat . It is a self-compiled .net script so it requires .net installed (not installed by default on Winsows XP/2003).

Usage:

Enable:

 quickEdit  1

Disable:

 quickEdit  2

Get State:

 quickEdit  3
like image 135
npocmaka Avatar answered Sep 20 '22 11:09

npocmaka