| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
XP CMD Batch Insert CR/LF in File
|
Original Message
|
Name: pcpro17
Date: August 10, 2006 at 11:05:29 Pacific
Subject: XP CMD Batch Insert CR/LF in FileOS: Win XP Pro SP2CPU/Ram: Pentium 4 @ 3GHz, 1GB RAMModel/Manufacturer: Dell Optiplex GX280 |
Comment: I'm trying to take input from two user-defined strings and save them to a file for later use by another batch process. I am able to generate the file as demonstrated below, expect it won't insert a CR/LF. SET /P LocalPath=Specify local file path to backup: SET /P BackupPath=Specify remote backup location: ECHO %LocalPath%#%BackupPath% > CONFIG.INI Any suggestions?
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Mechanix2Go
Date: August 10, 2006 at 11:25:32 Pacific
|
Reply: (edit)ECHO %LocalPath%> CONFIG.INI ECHO %BackupPath%>> CONFIG.INI ===================================== If at first you don't succeed, you're about average.M2
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Programming Forum Home