add code to multiple files by line number?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Message
Author
SXGuy
Posts: 13
Joined: 17 Sep 2011 08:57

Re: add code to multiple files by line number?

#16 Post by SXGuy » 12 Jan 2012 03:23

thanks, ill try that later and get back to you.

SXGuy
Posts: 13
Joined: 17 Sep 2011 08:57

Re: add code to multiple files by line number?

#17 Post by SXGuy » 18 Jan 2012 03:16

sorry im late in replying, had a mad few days at work.

The last changes you asked me to make, corrected all issues, thank you very much :)

i can now go ahead fixing 29k webpages rofl.

SXGuy
Posts: 13
Joined: 17 Sep 2011 08:57

Re: add code to multiple files by line number?

#18 Post by SXGuy » 18 Jan 2012 04:08

ok another problem now.

For the example text given it works great, however im having trouble with some other text namely some javascript, where i have some unicode chars, i think it was mentioned previously it might causes issues.

Basically when the script encounters a unicode char for example, vertical line "|" the script breaks.

Is there a way i can encapse some unicode chars to be copied "as is" or any type of conversion i can run so it will reconise these chars?

I think i am right in assuming that bat files will have trouble with sub range unicode chars?

EDIT: dont worry i solved the issue, by adding a caret before the char

Thanks anyway :)

Post Reply