batch file to remove tilde and tab from text

May 20, 2011 at 10:58:56
Specs: Windows XP
Need a dos batch file to remove tilde and tab from text file

See More: batch file to remove tilde and tab from text

Report •

#1
May 21, 2011 at 08:54:30
Why not use the search and replace text of notepad?

Report •

#2
May 21, 2011 at 17:21:10
:: ==========================================
:: remove tabs & tildes from files smaller than 30KB
:: tildetab.bat  Sun 22-05-2011  3:51:28.91

@echo off
if exist #.d del #.d
>> #.d echo E0100 E9 86 00 00 00 00 00 00 00 00 53 79 6E 74 61 78 
>> #.d echo E0110 20 65 72 72 6F 72 24 46 69 6C 65 20 6E 6F 74 20 
>> #.d echo E0120 66 6F 75 6E 64 24 46 69 6C 65 20 74 6F 6F 20 62 
>> #.d echo E0130 69 67 24 4E 6F 74 20 43 68 61 6E 67 65 64 24 43 
>> #.d echo E0140 6F 70 79 72 69 67 68 74 20 31 39 38 36 20 5A 69 
>> #.d echo E0150 66 66 2D 44 61 76 69 73 20 50 75 62 6C 69 73 68 
>> #.d echo E0160 69 6E 67 20 43 6F 2E 1A 50 72 6F 67 72 61 6D 6D 
>> #.d echo E0170 65 64 20 62 79 20 4D 69 63 68 61 65 6C 20 4A 2E 
>> #.d echo E0180 20 4D 65 66 66 6F 72 64 1A BE 80 00 BA 0A 01 FC 
>> #.d echo E0190 E8 35 01 89 36 03 01 80 3C 0D 74 3F 80 3C 20 74 
>> #.d echo E01A0 03 46 EB F3 C6 04 00 E8 1E 01 33 C9 BF E1 02 E8 
>> #.d echo E01B0 D7 00 80 3C 20 74 08 80 3C 0D 74 1F 46 EB F0 E8 
>> #.d echo E01C0 06 01 89 0E 05 01 33 C9 BF 61 03 E8 BB 00 80 3C 
>> #.d echo E01D0 20 74 0E 80 3C 0D 74 09 46 EB F0 B4 09 CD 21 CD 
>> #.d echo E01E0 20 89 0E 07 01 8B 16 03 01 B8 00 3D CD 21 BA 17 
>> #.d echo E01F0 01 72 E8 8B D8 BA 01 52 B9 40 9C B4 3F CD 21 BA 
>> #.d echo E0200 26 01 3D 40 9C 74 D4 50 B4 3E CD 21 5A A1 05 01 
>> #.d echo E0210 3B D0 7D 05 BA 33 01 EB C2 BB 01 52 B8 E1 03 BE 
>> #.d echo E0220 E1 02 8B FB 8B 0E 05 01 F3 A6 8B F8 74 08 8B F3 
>> #.d echo E0230 A4 40 43 4A EB 18 80 0E 09 01 01 BE 61 03 8B 0E 
>> #.d echo E0240 07 01 03 C1 03 1E 05 01 2B 16 05 01 F3 A4 3B 16 
>> #.d echo E0250 05 01 7D CB 8B CA 03 C1 8B F3 F3 A4 50 8B 16 03 
>> #.d echo E0260 01 33 C9 B4 3C CD 21 59 81 E9 E1 03 8B D8 BA E1 
>> #.d echo E0270 03 B4 40 CD 21 B4 3E CD 21 BA 33 01 80 3E 09 01 
>> #.d echo E0280 00 74 03 83 C2 04 E9 52 FF 80 3C 22 75 14 46 AC 
>> #.d echo E0290 3C 0D 74 31 3C 22 75 06 E8 34 00 73 01 C3 AA 41 
>> #.d echo E02A0 EB ED 32 DB E8 28 00 73 05 8A C3 AA 41 C3 AC 3C 
>> #.d echo E02B0 30 72 12 3C 39 77 0E 2C 30 8A F8 B0 0A F6 E3 8A 
>> #.d echo E02C0 D8 02 DF EB DF E9 13 FF 46 80 3C 20 74 FA C3 F8 
>> #.d echo E02D0 80 3C 20 74 0A 80 3C 0D 74 05 80 3C 2C 75 01 F9 
>> #.d echo E02E0 C3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>> #.d echo E02F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>> #.d echo E0300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>> #.d echo E0310 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>> #.d echo E0320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>> #.d echo E0330 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>> #.d echo E0340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>> #.d echo E0350 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>> #.d echo E0360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>> #.d echo E0370 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>> #.d echo E0380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>> #.d echo E0390 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>> #.d echo E03A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>> #.d echo E03B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>> #.d echo E03C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>> #.d echo E03D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
>> #.d echo E03E0 00 
>> #.d echo N change.com
>> #.d echo RCX
>> #.d echo 02E1
>> #.d echo W
>> #.d echo Q

debug < #.d > nul

change.com myfile 09 ""
change.com myfile "~" ""
del #.d


=====================================
Life is too important to be taken seriously.

M2


Report •
Related Solutions


Ask Question