Adding a TextPad Macro to my Batch File

October 1, 2010 at 12:23:32
Specs: Windows XP
I have a batch file that gives me a directory listing of al the files in a certain folder and I want it to run a macro that I have set up in TextPad. So far I have:

@echo off
dir %1 /b /-p /o:gn > "c:\Listing.txt"
start /w textpad "c:\Listing.txt"
exit

What would I put in to run that macro?


See More: Adding a TextPad Macro to my Batch File

Report •


#1
October 1, 2010 at 12:49:05
Unless TextPad has a command line option to execute scripts, you cannot though batch files.

How To Ask Questions The Smart Way


Report •

#2
October 1, 2010 at 13:15:28
Which way would you recommend? I just need to create a directory listing and then be able to run a macro.

Report •

#3
October 1, 2010 at 13:26:33
I'll throw out three options:
1) Do whatever text editing you need to do with a free command line program
2) Modify the output of your listing to get the file you need without editing.
3) Ask the TextPad forum. They might know the command line option you need.

How To Ask Questions The Smart Way


Report •

Related Solutions

#4
October 1, 2010 at 13:42:46
Thanks for the response. I think I'm going to use a different editor. Have a good one.

Report •

#5
October 1, 2010 at 17:35:42
what does your macro do?

GNU win32 packages | Gawk


Report •


Ask Question