Skip to content
fcorbelli edited this page Sep 28, 2026 · 2 revisions

The Swiss army knife for scripts: big letters, dates, padding, free space checks...

Quick summary

work executes many small verb-noun commands, mostly for scripting.

Power user usage

Nouns: big / devart (large ASCII text; devart-red, -green, -yellow, -cyan), pad (left-pad a number with zeros), filepathnotrailing, date, printbar, turbo / noturbo (CPU power), monitoroff / monitoron, shutdown, resetacl and frugal (Windows), last X, lastfile X, getsize X, checkspace, compare2, fc; in the full builds also encode, decode, test, fulltest, autotest, ispasswordok (FRANZEN) and vss (franzVSS manager).

Lo spiegone

Dispatched as command ] to work().

Real-world examples

Big text; padding

zpaqfranz work big "count the ok"
zpaqfranz work pad 123 -n 4

Date as year_month_day

zpaqfranz work date "%year_%month_%day" -terse

Last file name; file size

zpaqfranz work lastfile z:\temp\copia*.zpaq -terse
zpaqfranz work getsize zpaqfranz*.cpp /tmp/prova

Check the free space, run a script if missing

zpaqfranz work checkspace c:\ 10g d:\ 20g -exec_error nospace.bat

Compare the global hash of two logs

zpaqfranz work compare2 1.txt 2.txt "GLOBAL SHA256:" "hashme:"

Clone this wiki locally