Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
appending a line containing >
Name: abdul_ahad Date: May 22, 2006 at 09:25:20 Pacific OS: msdos 7.10 CPU/Ram: Intel Celeron Product: asus
Comment:
how do i append a line containing ">" (greater than sign) to an existing batch file from within another batch file the line involved is
@ECHO %VAR%>%TEMP%.\$$$.TMP
this has to be done without using any external programs
Name: Mechanix2Go Date: May 22, 2006 at 10:51:09 Pacific
Reply:
I think unless you use debug, you're out of luck.
I'll stay tuned.
===================================== If at first you don't succeed, you're about average.
M2
0
Response Number 2
Name: abdul_ahad Date: May 22, 2006 at 18:26:43 Pacific
Reply:
what i was originally trying to do was make a batch file that gets user input and puts it into an environment variable i know it has been done before, but now i have managed it with only one external programme (fc.exe) i no longer need to do what i originally posted above because i modified the main batch file. however i would like to present my batch file for comments/ideas from others out there i am having a problem posting it here because the long lines are getting wrapped. can someone please instruct me how to post without getting any lines wrapped
i donot wish to sign
0
Response Number 3
Name: Mechanix2Go Date: May 22, 2006 at 20:33:33 Pacific
Reply:
Hi Abdul,
We have yet to find a way around the forum wrapping lines.
Meanwhile, you can email it to me.
If at first you don't succeed, you're about average.
M2
0
Response Number 4
Name: abdul_ahad Date: May 23, 2006 at 09:27:32 Pacific
Summary: Francis: I got a copy of REPL.EXE. How does it work? World Library: No matter how I enter the original text, when I redirect new text to the file, it's on a new line. Please send me the program that w...
Summary: The problem is that along with the string of characters, that is, the filename itself, two characters more go to the file - the CR/LF characters, which in that order represent a line break. So, when y...
Summary: You can do in a batch file anything you do on the command line. I append files all the time. Say I want to tack a readme.txt file to the end of a buffer file named 1Jan.buf. The way I make the...