Hi,

BTW, I don't know why it says "{Spam?}" in the topic. Surely you don't
consider either of us spammers. But perhaps your mail reader / service
marked it? (wouldn't be surprised)


On Mon, Jul 25, 2011 at 5:06 PM, Bernd Blaauw <bbla...@home.nl> wrote:
> Op 25-7-2011 23:51, Rugxulo schreef:
>> P.S. Timo's BAT FAQ wasn't as exhaustive as I thought. The only
>> interesting trick was doing something like "echo. exit | command /c
>> prompt set blah=$t", which still would've needed some fiddling with an
>> external tool
>
> Actually it was extensive enough!

It's a pretty huge collection of tips (389 kb!, last updated? 2005). I
wonder if Timo even uses DOS these days. But anyways, I meant it
didn't have tons and tons of "generate random number" tricks.

There was one guy, back in the day, who wrote a /dev/random clone
(sorta) device driver for DOS. I can't remember if I ever tried it,
but FreeDOS had some other subtle bug regarding read-only CON / char
device or whatever (messed with rot13.sys, sadly, heh ... who says DOS
doesn't have encryption? <g>).

> It showed the use of an undocumented
> MS COMMAND.COM trick to switch drive: add "\" to the end of any valid
> filename.
>
> @echo off
> rem switch to root drive of wherever this file is located:
> %0\

But does that work under FreeCOM? Or I guess you test which DOS
variant and act accordingly?

> It's good enough for me. After that I tried starting Setup from CDROM
> after booting from a Win98 bootdisk. Turns out TRUENAME used on a
> CD-driveletter assigned by MSCDEX (or maybe even network shares) is
> listed in a quite odd way. Ah well.

How so? (Example plz, kthxbai.) Well, isn't TRUENAME undocumented
anyways? (Or did they finally document it?)

P.S. If I do say so, "move" and "deltree" (similar to "rd /s" in
CMD.EXE) would be a proper fit to moving [sic] into FreeCOM. Yeah, I
know I know, future dreaming, have to do it myself, blah blah. But
seriously, "move" is so redundant by itself (it's just ren or copy +
del, right?). Oh well.

------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to