For a one-time solution, I suggest the same, but if you need to do it
often, you could write a DOS program which reads the contents of an
arbitrary textfile and uses DOS API calls to execute another program with
the parameters listed in the file (which may contain arbitrary non-zero
characters). I think that would work.


2014-06-06 19:21 GMT+02:00 <ellsn...@aol.com>:

> Create a batchfile with the command you want using placeholder
> characters for the nonprinting characters.
> Then open it with DEBUG or your hexeditor of choice and replace the
> placeholders with the bytes you want
>
> -----Original Message-----
> From: Frantisek Hanzlik <fra...@hanzlici.cz>
> To: Freedos user list <freedos-user@lists.sourceforge.net>
> Sent: Thu, Jun 5, 2014 12:44 am
> Subject: [Freedos-user] how pass on command line general non-zero bytes
> to DOS program?
>
> Hi, I need pass general non-ASCII non-zero strings as arguments on
> cmdline to DOS program. How can this be done in FreeDOS?
> In Linux sh/bash shell I can use construction as $'\xAD\xBC' - but
> this not work in FreeDOS command.com.
>
> Thanks, Franta
>
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to