Search found 544 matches

by SIMMS7400
07 Jan 2016 13:29
Forum: DOS Batch Forum
Topic: Batch File to check second character of each string in .txt file : 50% complete - Need Help
Replies: 18
Views: 13298

Re: Batch File to check second character of each string in .txt file : 50% complete - Need Help

As far as the double quote - I'm not quit sure where you referring to?

Can I call out the ' symbol as I did or will this fail? Perhaps my single quote is whats throwing you off?
by SIMMS7400
07 Jan 2016 12:18
Forum: DOS Batch Forum
Topic: Batch File to check second character of each string in .txt file : 50% complete - Need Help
Replies: 18
Views: 13298

Re: Batch File to check second character of each string in .txt file : 50% complete - Need Help

@echo off setlocal EnableDelayedExpansion REM This is to allow for variable editing within the for loop for /f "delims=" %%A in (test1.txt) do ( REM This loops through each line in test.txt REM and performs everything within () to the line REM which is held in %%A set a=%%A IF "%var:...
by SIMMS7400
07 Jan 2016 10:51
Forum: DOS Batch Forum
Topic: Batch File to check second character of each string in .txt file : 50% complete - Need Help
Replies: 18
Views: 13298

Re: Batch File to check second character of each string in .txt file : 50% complete - Need Help

Thank you for the tips! Unfortunately, I cant seem to get it fire. If it wouldn't be too much trouble, would you be able to show me how to use it?

Thank you.
by SIMMS7400
07 Jan 2016 07:56
Forum: DOS Batch Forum
Topic: Batch File to check second character of each string in .txt file : 50% complete - Need Help
Replies: 18
Views: 13298

Batch File to check second character of each string in .txt file : 50% complete - Need Help

Team - Before everyone says use Perl or POWERSHELL - I cant. I have a business need that requires me to develop a batch script to remove instances of the ' symbol from a text file as it's preventing a process from loading into our target systems. The catch is, however, the ' only needs to be removed...