Running the Batch file you are editing

Instructional HowTos, posted by users. No questions here please.

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
blakethompson
Posts: 3
Joined: Sun Apr 11, 2004 8:51 pm
Location: Apex, Norf Carolina

Running the Batch file you are editing

Post 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.
Post Reply