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.
pipe diff cmds to the same line
Name: Pete Date: November 17, 2003 at 09:07:40 Pacific OS: win2k CPU/Ram: 266/256
Comment:
Hi, I was wondering if there was an easy way to pipe some text and a number of commands to the same line of a log file
e.g I want time /t date /t some text and a, into a textfile but all on the same line.
Name: dtech10 Date: November 17, 2003 at 14:02:37 Pacific
Reply:
Hi Pete You could try sometime like this.
@echo off date /t > date.tmp time /t > time.tmp echo Your Text > text.tmp set /p XDate= < date.tmp set /p XTime= < time.tmp set /p XText= < text.tmp echo %Xdate% %Xtime% %XText% > Log.txt echo. set XDate= set XTime= set XText= del date.tmp del time.tmp del text.tmp
Summary: Anyone know how i can append text to the the end (or beginning) of the same line in a text file rather than doing it on new line? Without using 3rd party utilities that is....
Summary: Either MSCDEX is not there or you need a space between X and /d While you're at it add to the same line [after one space] /L:R to assign letter R to the CD. So you don't have to go looking for it. ...
Summary: David, put the file name which is an argument to the acrobat reader program on to the same line: AcroRd32.exe 1844TZPI.pdf You may have to include the fully qualified path to the pdf-file as well, lik...