| 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! |
replace \ with / using batch
|
Original Message
|
Name: newtechie
Date: November 14, 2007 at 17:10:37 Pacific
Subject: replace \ with / using batchOS: win server 2003CPU/Ram: p3Manufacturer/Model: dell |
Comment: Hi guys: I am faced witha dilemma - on runtime I echo a variable value to a .properties file so the software module can read from it as follows: echo %VAR_A% >> VAR.properties echo %VAR_B% >> VAR.properties -----------VAR.properties--------- VAR_A=X:\path\path\path VAR_B=Y:\path\path\path\path ------ now the module requires me to modify this file to look like the following: -----------VAR.new.properties--------- VAR_A=X:/path/path/path VAR_B=Y:/path/path/path/path ------ essentially, open this file, modify and rewrite to new properties file. I am lost on trying to do this with a find commandn properly - please help!!
Report Offensive Message 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 Windows Server 2003 Forum Home
Results for: replace \ with / using batch
rebuild raid 5 with used drives? Summary: If you don't want to use old drives, don't forget you can use a larger drive than what's in there presently. By that I mean, when replacing a defunct drive, you're not forced to use the exact same mo...
www.computing.net/answers/windows-2003/rebuild-raid-5-with-used-drives/8332.html
Find/Replace with DOS Summary: Thanks, I see how that works but I need a non-interactive mode in which I can do something like this: find @abc123.com replace with @abc.com in *.txt I need to able to do this with 1 command, non-inte...
www.computing.net/answers/windows-2003/findreplace-with-dos/6794.html
Active Directory Batch Files Summary: Hello everyone. Firstly, I'm sorry if i posted this in the wrong area, I couldn't find a specific "batch" forum. I've been working on a batch script to query active diretory for a supplied user acco...
www.computing.net/answers/windows-2003/active-directory-batch-files/4757.html