How to Touch a File from a Batch File?

General questions about using TextPad

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

Post Reply
Paul Havemann

How to Touch a File from a Batch File?

Post by Paul Havemann »

I'm looking for a way to Open a file, Save it, and exit TextPad from a batch file.

All I really want is to Touch a file from a batch file, but I'll take what I can get. ;}

Is there a command-line option, a macro, or add-on which will do this? I've looked at the SaveAll add-on, but it is not obvious (from any of the add-ons) how to cause TextPad to exit.
Jeff Epstein

Re: How to Touch a File from a Batch File?

Post by Jeff Epstein »

File Menu --> Manage Files --> Touch button

:' )

Jeff
http://www.jeffyjeffy.com/textpad
Paul Havemann

Re: How to Touch a File from a Batch File?

Post by Paul Havemann »

And that's done from a batch file (a.k.a. "command line") -- how, exactly?
;}
Andreas

Re: How to Touch a File from a Batch File?

Post by Andreas »

if you just want to touch the file, search the web for unix tools for dos.

On a machine at work - to which I do not have access at the moment - I have such tools installed (touch, ls, vi, ...), they work very well under dos.
Paul Havemann

Re: How to Touch a File from a Batch File?

Post by Paul Havemann »

Yes, you're quite right; in fact, I found one called (amazingly) TOUCH.COM to do the trick.

Problem solved!
Post Reply