Search found 394 matches

by miskox
28 Jun 2010 15:03
Forum: DOS Batch Forum
Topic: How to replace special characters...
Replies: 4
Views: 7868

Re: How to replace special characters...

Thank you both.

I will check this tomorrow (it is late here).

I just want to extract a URL from the line above. The main problem is always with those special characters...

Thanks again.
Saso
by miskox
28 Jun 2010 07:16
Forum: DOS Batch Forum
Topic: How to replace special characters...
Replies: 4
Views: 7868

How to replace special characters...

Hi all, let's say we have a file tmp.tmp with the following records (there are some blanks (spaces) infront of the <a title): <a title="some text" href="http://some.site.com/somefile1.jpg" target="_blank">somefile1.jpg</a> This file contains some lines as above with som...
by miskox
28 Jun 2010 05:09
Forum: DOS Batch Forum
Topic: How to get string length (two possibilites)
Replies: 1
Views: 2411

How to get string length (two possibilites)

Hi all, here are two possibilites to determine the string's length. I hope you like them. First version sets a temporary variable and when it becomes undefined the counter determines the string's length. Of course string is passed as %1 (first parameter). @echo off set strorg=%~1 set strtmp= set /a ...
by miskox
28 Jun 2010 03:54
Forum: DOS Batch Forum
Topic: Delete files which matches to the pat tern
Replies: 2
Views: 2732

Re: Delete files which matches to the pat tern

Can't a simple

Code: Select all

del *test*.*


do for you?

Saso