Search found 330 matches

by miskox
15 May 2019 03:29
Forum: DOS Batch Forum
Topic: Preparation before concatenation
Replies: 7
Views: 843

Re: Preparation before concatenation

If file format allows this then you could use

Code: Select all

copy *.m3u* new_file.m3u
Saso
by miskox
14 Apr 2019 07:00
Forum: DOS Batch Forum
Topic: NEED HELP WITH CHESS TOURNMENT FILES
Replies: 3
Views: 723

Re: NEED HELP WITH CHESS TOURNMENT FILES

Though OP should reply, here is a link to wiki with some info regarding PGN file format: https://en.wikipedia.org/wiki/Portable_Game_Notation

Saso
by miskox
22 Mar 2019 02:42
Forum: DOS Batch Forum
Topic: CONVERTCP.exe - Convert text from one code page to another
Replies: 85
Views: 42285

Re: CONVERTCP.exe - Convert text from one code page to another

What was at first a 'simple' problem for me (converting .txt files between CP852 and CP1250 -see https://www.dostips.com/forum/viewtopic.php?p=50289#p50289) is now an ongoing project. Steffen once wrote I don't expect to get bug reports because the utility will not be found and used that often. How ...
by miskox
12 Feb 2019 06:29
Forum: DOS Batch Forum
Topic: findstr /C:""" file.txt&&set found=1 FAILS
Replies: 6
Views: 1134

Re: findstr /C:""" file.txt&&set found=1 FAILS

Great! Thanks. I added extra quote (total of 4) but that didn't work either. I had problems with findstr /C:"^|" file.txt returns no matches, while findstr /C:"|" file.txt returns a match (or more). This does not work: findstr /C:"^"" file.txt But this (your version - first quote escaped) works: fin...
by miskox
12 Feb 2019 02:59
Forum: DOS Batch Forum
Topic: findstr /C:""" file.txt&&set found=1 FAILS
Replies: 6
Views: 1134

findstr /C:""" file.txt&&set found=1 FAILS

Hello! I have .txt file: file.txt Some text Some more text with " quote This works: findstr /C:""" file.txt This fails: findstr /C:""" file.txt&&set found=1 returns: c:\findstr /C:""" file.txt&&set found=1 FINDSTR: Cannot open file.txt&&set FINDSTR: Cannot open found=1 If I want to redirect output t...
by miskox
31 Jan 2019 01:14
Forum: DOS Batch Forum
Topic: Syntax error
Replies: 3
Views: 724

Re: Syntax error

Try with this:

change

Code: Select all

If "%_WinVer%==Windows 10" (
to

Code: Select all

If "%_WinVer%"=="Windows 10" (
Correct everywhere.

Saso
by miskox
16 Oct 2018 04:55
Forum: DOS Batch Forum
Topic: Deactivate admin privileges
Replies: 2
Views: 975

Re: Deactivate admin privileges

Is scheduled task a solution?

Maybe you can create a scheduled task, run it and then delete it when it is done?

Saso
by miskox
14 Jul 2018 14:29
Forum: DOS Batch Forum
Topic: dir *3*.* does not work as expected
Replies: 3
Views: 966

dir *3*.* does not work as expected

Hello all! Put this .cmd in an empty folder: @echo off break>FreeYD_2.1.2.exe break>Pro_V2.1.9.exe break>Pro_V3.exe break>Pro_V3_1_5.exe break>Pro_V3_2_8.exe dir *3*.* del *.exe echo exe files deleted dir break>GIHO_TubeGet_FreeYD_1.2.7.exe break>GIHO_TubeGet_FreeYD_2.1.2.exe break>GIHO_TubeGet_Pro_...
by miskox
18 May 2018 04:47
Forum: DOS Batch Forum
Topic: date time subtraction
Replies: 2
Views: 769

Re: date time subtraction

Maybe this is useful:

viewtopic.php?p=40009#p40009

Saso
by miskox
08 May 2018 07:15
Forum: DOS Batch Forum
Topic: stamps
Replies: 25
Views: 5038

Re: stamps

Sorry for a short delay (I was offline for more than a week). Dave! Great! I just have another challenge: can available quantity of stamps be added? For example: Maybe I don't have stamp 'C' (1.00 EUR) at hand so optimal solution for 0.60 EUR of C+0.20 cannot be used. So next best solution might wor...
by miskox
26 Apr 2018 00:20
Forum: DOS Batch Forum
Topic: stamps
Replies: 25
Views: 5038

Re: stamps

@Dave: Thanks! Great! Your code is too complicated to understand. Could you please make a list of stamps (values/display) more user friendly so new stamps could be added or removed with ease. One more thing: how can I use comma as a decimal point? If I replace '0.20' with '0,20' I get divide by zero...
by miskox
25 Apr 2018 14:00
Forum: DOS Batch Forum
Topic: Extract data from website (another problem)
Replies: 1
Views: 869

Re: Extract data from website (another problem)

I checked .html file: looks like I need these: - category is between id='table1' name=' and '><thead> - operating systems supported are between <br><br></td><td> and <br></td><td> If there is more than one they are separated by <br> Well, I don't know how to get this information. Anyone? Saso
by miskox
25 Apr 2018 11:02
Forum: DOS Batch Forum
Topic: stamps
Replies: 25
Views: 5038

Re: stamps

Wow!

Thank you all! Thanks Dave for finding that 'mistake'.

At first it looked like an easy task and it turned out to be a great exercise.

Thank you all.

Saso
by miskox
24 Apr 2018 05:31
Forum: DOS Batch Forum
Topic: stamps
Replies: 25
Views: 5038

Re: stamps

Well...wow. Thanks Steffen. I knew you experts can do it in a more efficient way.

Saso