|
-
NT For command and pipe symbol in data file problem
Hi,
I'm working on a script to replace the fifth variable in a text file. The
problems is the | (pipe) delimiter used which the for command parse and removes
it from the file.
set f="delete"
for /F "tokens=1-5 delims=|" %%i in (client.del) do @echo %%i %%j %%k %%l
%f% >> clientowndel.txt
This line will work but not echoing the pipe symbol that I need for the data
import. Can I replicate the pipe symbol without using quotes which would
corrupt the data. Any help would be appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks