Search found 46 matches

by CirothUngol
29 Oct 2018 11:24
Forum: DOS Batch Forum
Topic: bin2enc.cmd - Native .CAB & Self-Extracting Scripts
Replies: 10
Views: 10818

Re: bin2enc.cmd - Native .CAB & Self-Extracting Scripts

Thanks for the correction Carlos, I always forget about the non-english aspect of batch files. Corrected the line in the first post, didn't alter the version number.
by CirothUngol
20 Oct 2018 20:25
Forum: DOS Batch Forum
Topic: bin2enc.cmd - Native .CAB & Self-Extracting Scripts
Replies: 10
Views: 10818

Re: bin2enc.cmd - Native .CAB & Self-Extracting Scripts

Updated the script, should work nicely on earlier WinNT systems now. Couldn't find a clean link to the MS Cabinet SDK (cabsdk) for Extract.exe, but if you look around you can find it. Otherwise, just endure Extrac32's minimized pop-up. ^_^
Please post if you try it an have any issues.
by CirothUngol
10 Oct 2018 23:59
Forum: DOS Batch Forum
Topic: bin2enc.cmd - Native .CAB & Self-Extracting Scripts
Replies: 10
Views: 10818

Re: MakeCab, CertUtil, & Expand... best file embedding?

Great suggestions, and thanks for the info. Sad MakeCab doesn't support QUANTUM, but I'll just keep it simple. ^_^
Updated the script and posted it to the OP.
by CirothUngol
09 Oct 2018 23:46
Forum: DOS Batch Forum
Topic: bin2enc.cmd - Native .CAB & Self-Extracting Scripts
Replies: 10
Views: 10818

Re: MakeCab, CertUtil, & Expand... best file embedding?

OK, I think I've finally gotten the MakeCab part correct (cantankerous to say the least). Here's the final script I've begun using: ::------------------------------------------------------------------------------ :: bin2enc.cmd source\folder[\file] [destination\folder] :: :: Generates CAB or self-ex...
by CirothUngol
27 Sep 2018 22:46
Forum: DOS Batch Forum
Topic: Mazing.cmd - A Visual Maze Generator for WinNT
Replies: 1
Views: 4076

Mazing.cmd - A Visual Maze Generator for WinNT

A while back I wrote a small script to replace the command line executable used by a fun little maze game posted here at DosTips. I continued toying with several of the maze generating and solving algorithms found at Think Labyrinth sticking with those that create perfect mazes, which elegantly have...
by CirothUngol
27 Sep 2018 18:47
Forum: DOS Batch Forum
Topic: bin2enc.cmd - Native .CAB & Self-Extracting Scripts
Replies: 10
Views: 10818

Re: MakeCab, CertUtil, & Expand... best file embedding?

Thanks for the great sample script! I've played with it for awhile and determined that MakeCab.exe probably isn't the best solution for multiple files/folders. Not only is it difficult and archaic (but manageable), but I fear that it may be incompatible with many modern features like unicode filenam...
by CirothUngol
27 Sep 2018 17:48
Forum: DOS Batch Forum
Topic: For loop doesn't work
Replies: 4
Views: 5057

Re: For loop doesn't work

$Recycle.Bin is a folder and cannot be removed using the DEL command. Besides, it's also a system folder that you probably don't want to remove.
by CirothUngol
24 Sep 2018 20:27
Forum: DOS Batch Forum
Topic: bin2enc.cmd - Native .CAB & Self-Extracting Scripts
Replies: 10
Views: 10818

bin2enc.cmd - Native .CAB & Self-Extracting Scripts

I've decided to place the updated script in the first post. Thanks for the suggestions, Carlos! ^_^ Added commandline options and a brief help. Please suggest better MakeCab settings if anyone knows them. I've spent some time attempting to navigate it's vast myriad of options, but I'm far from knowl...
by CirothUngol
24 Sep 2018 19:59
Forum: DOS Batch Forum
Topic: BatchGame Sokobox 1.4
Replies: 4
Views: 5683

Re: BatchGame Sokobox 1.4

full support to windows 10, is in the version 3.9. I published a second edition of the version 3.9, called "3.9 se". Thanks for supporting BG so that it remains so very useful, hopefully you may deign to again release a fix if any future windows changes render it ineffective. I've been using it for...
by CirothUngol
23 Sep 2018 09:56
Forum: DOS Batch Forum
Topic: Find recursively (!) all empty dirs below top folder?
Replies: 3
Views: 4688

Re: Find recursively (!) all empty dirs below top folder?

Oops, sorry 'bout that. %nullDir% is a fancy 'macro', a small batch routine contained inside a variable so you don't have to issue a CALL command... which happens to be just about the slowest thing in batch. A more complete and useful version looks like this: @ECHO OFF :: define a newline with line ...
by CirothUngol
22 Sep 2018 13:58
Forum: DOS Batch Forum
Topic: BatchGame Sokobox 1.4
Replies: 4
Views: 5683

Re: BatchGame Sokobox 1.4

I was migrating my current project from BG.EXE v3.0a to v3.9 when I noticed this issue. The FCPrint command for BG v3.9 seems to use the format: columns rows color text... However, the docs for BG v3.9 state: rows columns color text... which is also what all previous versions of BG [Locate rows colu...
by CirothUngol
21 Sep 2018 18:43
Forum: DOS Batch Forum
Topic: BatchGame Sokobox 1.4
Replies: 4
Views: 5683

Re: BatchGame Sokobox 1.4

When did Win10 compatibility start for BG? I'm currently using a lightly custom BG v3.0a (with Color command from tinyBG included), but don't have access to a Win10 machine. Should I use v3.9 to assure compatibility? Love the FCprint command! Really speeds up the 1-2 punch of Locate+Print. Just did ...
by CirothUngol
17 Sep 2018 10:30
Forum: DOS Batch Forum
Topic: consolesoft.com is closing
Replies: 13
Views: 13268

Re: consolesoft.com is closing

carlos wrote:
16 Sep 2018 19:11
...it becomes a kind of internal command, but for this it is essential to be able to sign the executable.
This sounds interesting! Is it faster in this way or does it simply make it more convenient?
by CirothUngol
13 Sep 2018 19:16
Forum: DOS Batch Forum
Topic: Any difference in MODE or CHCP when setting code page?
Replies: 2
Views: 4380

Re: Any difference in MODE or CHCP when setting code page?

Thanks for the info Carlos, that's good enough reason to use it instead. ^_^
by CirothUngol
13 Sep 2018 18:20
Forum: DOS Batch Forum
Topic: Any difference in MODE or CHCP when setting code page?
Replies: 2
Views: 4380

Any difference in MODE or CHCP when setting code page?

Just a quick question... is there any difference in using CHCP nnn or MODE CON CP SELECT=yyy when setting code pages? Perhaps one is older or more available, therefore being more compatible?