Page 1 of 1

Running the Batch file you are editing

Posted: Sat Jun 30, 2012 11:37 am
by blakethompson
I was surprised that I didn't see this already listed (or that there wasn't a standard built in, for that matter) -- How to execute the Batch file you are editing.

My workflow has been as follows for the last couple months:
  • Find in Files.
    * Take the list and edit it into a batch file that copies, finds, edits, etc
    * Open a command prompt, navigate to the directory with the batch, execute it.
    * Open the output file in textpad, massage some more.
This will streamline that a bit.

Configure > Preferences > Tools
Add -> DOS Command

Parameters: $File

Batch output will now reside in Tool Output window. Be sure to write your file as a batch and save with a BAT extension.