Search found 656 matches

by miskox
12 Apr 2018 02:45
Forum: DOS Batch Forum
Topic: CONVERTCP.exe - Convert text from one code page to another
Replies: 134
Views: 289109

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

Thanks again Steffen! Though I never had this problem it is good to have new version. Test file supplied has 40,000+ lines - my test file had more. So strange how I never encountered the problem. Saso P.S.: Steffen: maybe you could add a date below your name in the first post when you changed the fi...
by miskox
12 Apr 2018 02:38
Forum: DOS Batch Forum
Topic: you can download files with certutil
Replies: 9
Views: 40198

Re: you can download files with certutil

Very good! At work I cannot use wget.exe - it does not work. BITS transfer works but it is veeeery slow. certutil.exe solution can be compared with wget.exe - downloads at full speed. Though input and output files must (probably) be set (no wildcard downloading for example, or complete web sites). O...
by miskox
12 Apr 2018 02:31
Forum: DOS Batch Forum
Topic: Why REM inside a block?
Replies: 14
Views: 15343

Re: Why REM inside a block?

Hello all!

Sorry for a 'short' (long?) delay in giving an answer (I was ill, my wife had a surgery... so priorities change).

Thank you all for your tests, thoughts...

Saso
by miskox
16 Feb 2018 05:42
Forum: DOS Batch Forum
Topic: Why REM inside a block?
Replies: 14
Views: 15343

Why REM inside a block?

Hello all! I just saw this post https://www.dostips.com/forum/viewtopic.php?p=9#p9 Quote: fc "%file1%" "%file2%">NUL&&( echo the files are equal rem keep this rem as last command in the block )||( echo the files are different ) Question: why should that REM line be there? Thanks. Saso
by miskox
16 Feb 2018 03:28
Forum: DOS Batch Forum
Topic: Script only by computer name...
Replies: 21
Views: 19854

Re: Script only by computer name...

If you would give us information what you want we could give you a complete solution: for example: "I want to start abc.exe if computer name starts with XXX..."

Saso
by miskox
15 Feb 2018 08:04
Forum: DOS Batch Forum
Topic: Script only by computer name...
Replies: 21
Views: 19854

Re: Script only by computer name...

@echo off
if "%computername:~0,3%"=="XXX" echo Run a command
There you can insert a command.

Saso
by miskox
22 Dec 2017 07:47
Forum: DOS Batch Forum
Topic: How to measure total and free environment space? (XP SP3)
Replies: 5
Views: 5787

Re: How to measure total and free environment space? (XP SP3)

Correct the typo:

Code: Select all

ECHO **** I N F A S T R U C T U R E   U S E ****
Inf R astructure.

Saso
by miskox
21 Dec 2017 04:05
Forum: DOS Batch Forum
Topic: Generating .pdf files with batch?
Replies: 42
Views: 57056

Re: Generating .pdf files with batch?

Great, Steffen!

Thanks.

Saso
by miskox
20 Dec 2017 10:24
Forum: DOS Batch Forum
Topic: Generating .pdf files with batch?
Replies: 42
Views: 57056

Re: Generating .pdf files with batch?

Steffen! I think the problem is because (I would guess) there are no official rules how to write a date. We use DD.MM.YYYY. I read/heared about two explanations how dates should be written. 1. DD.MM.YYYY: a classic way (no spaces between dots and numbers). Leading zeroes are allowed (01.12.2017 for ...
by miskox
20 Dec 2017 03:39
Forum: DOS Batch Forum
Topic: Generating .pdf files with batch?
Replies: 42
Views: 57056

Re: Generating .pdf files with batch?

@Steffen: Your latest version works on XP but fails on my Windows 10 at work. c:\>for /F "tokens=1-6 delims=:.,." %a in ("20. 12. 2017,10:34:39,88") do ( if 1 == 0 (set mm=%a & set dd=%b & set yy=%c ) else if 1 == 1 (set dd=%a & set mm=%b & set yy=%c ) else (set yy=%a & set mm=%b & set dd=%c ) (set ...
by miskox
18 Dec 2017 06:48
Forum: DOS Batch Forum
Topic: Generating .pdf files with batch?
Replies: 42
Views: 57056

Re: Generating .pdf files with batch?

I get the following error: :.," was unexpected at this time. With ECHO ON: c:\>set "sDate=. " <----- note a space after the dot. c:\>set "iDate=1" c:\>for /F "tokens=1-6 delims=. :.," %a in ("18. 12. 2017,13:36:29,01") do ( if 1 == 0 (set mm=%a & set dd=%b & set yy=%c ) else if 1 == 1 (set dd=%a & s...
by miskox
18 Dec 2017 01:27
Forum: DOS Batch Forum
Topic: DOSTIPS.COM does not work on XP
Replies: 15
Views: 22700

Re: DOSTIPS.COM does not work on XP

The dostips.com certificate uses sha256 encryption. This google forum thread states that sha256 wasn't supported before Windows XP Service Pack 3. Could this be the issue? Possibly later Firefox versions added their own support? Peter Thank you for the answer. XP I use has SP3 installed (though it ...
by miskox
18 Dec 2017 01:26
Forum: DOS Batch Forum
Topic: Generating .pdf files with batch?
Replies: 42
Views: 57056

Re: Generating .pdf files with batch?

Great Steffen!

This is a start.

Saso

(still searching for solutions: embedding font...)
by miskox
16 Dec 2017 11:31
Forum: DOS Batch Forum
Topic: Generating .pdf files with batch?
Replies: 42
Views: 57056

Re: Generating .pdf files with batch?

Of course Steffen. It is easier to test this change if .exe is changed.

I keep searching for a solution.

Thanks.
Saso
by miskox
16 Dec 2017 11:28
Forum: DOS Batch Forum
Topic: DOSTIPS.COM does not work on XP
Replies: 15
Views: 22700

Re: DOSTIPS.COM does not work on XP

Update regarding blurry fonts: I asked a question on the Firefox support forum and received an answer: - open about:config - find gfx.canvas.azure.backends and change it's value to either (current value should be direct2d1.1,skia,cairo): direct2d1.1,cairo,skia or direct2d1.1,cairo - find gfx.content...