Search found 11 matches

by Erik Bachmann
04 Dec 2015 13:54
Forum: DOS Batch Forum
Topic: Color Function 21 22 23c
Replies: 37
Views: 18151

Re: Color Function 21 22 23c

I simply do not understand your example! :?
Are you intending to convert the output string into an array - and the print the characters one by one? :shock:
How would this solve the position72-80 problem?
Please supply a complete example
by Erik Bachmann
26 Nov 2015 09:30
Forum: DOS Batch Forum
Topic: Color Function 21 22 23c
Replies: 37
Views: 18151

Re: Color Function 21 22 23c

Code: Select all

mode con cols=120

does not solve the problem. Makes windows "jump" to another size and the screens blinks.

Is it possible to truncate the string at col 80?
by Erik Bachmann
15 Oct 2015 08:07
Forum: DOS Batch Forum
Topic: The "_" Windows Batch Library - now on github
Replies: 21
Views: 2964

Re: The "_" Windows Batch Library - now on github

You're right! debug.exe is not installed as default on 64 bit. Removing cEcho.exe
by Erik Bachmann
15 Oct 2015 07:46
Forum: DOS Batch Forum
Topic: The "_" Windows Batch Library - now on github
Replies: 21
Views: 2964

Re: The "_" Windows Batch Library - now on github

It's a library with mutual dependencies. unzip.bat requires _debug.cmd and _GetOpt.cmd. If you need the help function as well, What.cmd is needed too.

I've added a note to the README. So please download the entire library.
by Erik Bachmann
15 Oct 2015 07:26
Forum: DOS Batch Forum
Topic: The "_" Windows Batch Library - now on github
Replies: 21
Views: 2964

Re: The "_" Windows Batch Library - now on github

Can a 16bit program run on a 64bit Operating System?

Hmmm - 16 bit batch script?!? I'm not reinventing CMD.exe.
by Erik Bachmann
15 Oct 2015 07:24
Forum: DOS Batch Forum
Topic: The "_" Windows Batch Library - now on github
Replies: 21
Views: 2964

Re: The "_" Windows Batch Library - now on github

Well the .BAT files ARE a wrapper to VBscript or Jscript functionality. This is indicated in the documentation: xxx.BAT A wrapper to VBscript or Jscript functionality. . The scripts are wrapped using cmdize.cmd . What do you mean by when they can't get it work as a .bat. . They are indeed .bat files...
by Erik Bachmann
15 Oct 2015 07:12
Forum: DOS Batch Forum
Topic: The "_" Windows Batch Library - now on github
Replies: 21
Views: 2964

Re: The "_" Windows Batch Library - now on github

Yes! Under Windows 7 32+64 bit and Windows 10. I do not have other versions available. Currently I'm not aware of any vital differences in the batch environment, that should affect these scripts. No references to %ProgramFiles%.
by Erik Bachmann
15 Oct 2015 05:20
Forum: DOS Batch Forum
Topic: The "_" Windows Batch Library - now on github
Replies: 21
Views: 2964

Re: The "_" Windows Batch Library - now on github

Not exactly. I've made a mistake at the top of the header but the header clearly states:
REPL.BAT was written by Dave Benham

You're right about this version being outdated. Sorry - I've updated to JREPL.bat right away.
Thank you for bringing this to my attention. And Dave - I apologize :oops:
by Erik Bachmann
15 Oct 2015 03:10
Forum: DOS Batch Forum
Topic: The "_" Windows Batch Library - now on github
Replies: 21
Views: 2964

The "_" Windows Batch Library - now on github

For years I've been looking for the ultimate DOS/Windows batch library - without much success. So I've build my own - including documentation, unit tests and examples. The library is not a collection of snippet - like DosTips, but ready to use scripts; The "_" Windows Batch Library (The &q...
by Erik Bachmann
20 Mar 2015 23:23
Forum: DOS Batch Forum
Topic: Windos 7 DIR get too many files
Replies: 3
Views: 993

Re: Windos 7 DIR get too many files

Bingo! And DIR cannot surpress short file names - only surpress the long names. So forfiles can do the trick: forfiles /s /M "*1*.*" /c "cmd /c ECHO:@RELPATH" I'd whish that "Windos" could learn from *nix: Don't hide your tricks - do exactly what you're asked to do.
by Erik Bachmann
20 Mar 2015 04:28
Forum: DOS Batch Forum
Topic: Windos 7 DIR get too many files
Replies: 3
Views: 993

Windos 7 DIR get too many files

This command took me by surprise: m:\flac\Adele\19>DIR /B "01*.*" 01 Adele - Daydreamer.flac 08 Adele - Right as Rain.flac I did only expect the "daydreamer" line. Likewise: m:\flac\Adele\21>DIR /B "01*.*" 01 Adele - Rolling in the Deep.flac 05 Adele - Set Fire to the R...