Re: Unwanted Paste behavior
- From: folderann <tantanna@xxxxxxx>
- Date: Sat, 03 Mar 2007 13:27:16 -0500
On Sat, 3 Mar 2007 03:37:53 -0600, "Herb Martin" <news@xxxxxxxxxxxxxx>
wrote:
"George Valkov" <a@xxxxx> wrote in message
news:OfPG63WXHHA.4772@xxxxxxxxxxxxxxxxxxxxxxx
"Herb Martin" wrote:
|
| "folderann" wrote:
| > You're right. It's not the OS or some weird switch. It was staring
| > me in the face.
| >
| > Actually the app reads the entire file, however small. But the app
| > doesn't place the text in the file(s). It just reads it. It's the
| > way the text is put into the text file that is causing the line feed
| > or CR. Usually I would open the file,type it in, and close it. But
| > as a quick pre-run deal, lately I was echo(ing) the command text into
| > the text file. That creates the CR. Garbage in/out. That's what I get
| > being too smart to know I can be a big dope.
| >
| > Thanks so much for getting me to take a better look.
|
| Sure, been there, needed that, too.
|
| If you figure out how to get "@echo something >f.txt" to leave off the
| terminating CR/LF let me know. I think there is a way but cannot
| recall it.
It takes more time to create a JScript for console than a bat script, but
You have much more control and I believe that JS runs faster.
Usually if I leave Bat/CMD I go to Perl since it is so much easier than
other languages for practically anything you wish to do as a SysAdmin
or at the command prompt.
All of our machnes have Perl, but it is nice to be able to do most
"small things" from straight batch.
I might try a vbscript, I dunno. Sometimes I spend hours being
"elegant" and writing something that saves me 20 seconds for each
instance. What's odd is that Echo. will write a blank. If I find
something I'll post it. And VBS is supported in most Windows.
.
- References:
- Unwanted Paste behavior
- From: folderann
- Re: Unwanted Paste behavior
- From: Herb Martin
- Re: Unwanted Paste behavior
- From: folderann
- Re: Unwanted Paste behavior
- From: Herb Martin
- Re: Unwanted Paste behavior
- From: George Valkov
- Re: Unwanted Paste behavior
- From: Herb Martin
- Unwanted Paste behavior
- Prev by Date: Re: Problem scheduling a task
- Next by Date: RE: Security Breech
- Previous by thread: Re: Unwanted Paste behavior
- Next by thread: Re: Unwanted Paste behavior
- Index(es):
Relevant Pages
|