The 4DOS command processor for MS-DOS

4dos, batch commands, grub 4 dos, dos 4, ms dos 4

Archive for July, 2012

locating a specific help page

    (copy directed to tech support at JP Software)

I recently wanted to direct another 4DOS user to a particular page on
your help menu, which he should be able (I think) to access by typing

   help `page name`

from the command prompt. The page was on ‘Batch File Line Continuation’,
but I found that there is apparently no direct way to access that page!
I tried "help `Line Continuation`" and "help `Batch File Line
Continuation`" and various other combinations, but could not find a way
to jump directly to this page. The best way was an indirect route:

   help `Batch Files` and then cursor down to "Line Continuation"

Are all the nodes of your help files directly accessible from the help
menu? And if so, how can they each be accessed?


Eric Pement <epem…@jpusa.chi.il.us>
senior editor, Cornerstone magazine
http://www.cornerstonemag.com
939 W. Wilson Ave., Chicago, IL 60640-5706
tel: 773/561-2450, 1-(ext.)2084   fax: 773/989-2076

.
posted by admin in Uncategorized and have No Comments

Looking for Desqview/X

Many thanks to those who responded to my initial request, with special thanks
to one, but I am still left with the need to acquire a boxed copy of Desqview/X
2.0 or higher, preferably version 2.6.  If anyone has a copy please let me
know.  Tto those who wrote to me earlier, I hope to hear from you.  

Thanks

Kurt
kur…@aol.com

posted by admin in Uncategorized and have No Comments

COLORDIR order dependant – why

executing SET
COLORDIR=rdonly:white on green;dirs:bright white on blue;hidden white on red
fails.
(hidden files are not marked)

while executing SET
COLORDIR=hidden:white on red;rdonly:white on green;dirs:bright white on blue
works

how come? W95 and 4dos 6.01.


    Chuck Falconer (Charles_Falco…@NOSPAMapsnet.com)

———–== Posted via Deja News, The Discussion Network ==———-
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

posted by admin in Uncategorized and have Comment (1)

Help with loading 4dos from a CD

I am trying to boot from a cd.  When 4dos starts to load, it says that
the disk is write protected and asks if I want to "abort", "retry" ,
or "ignore".  Although I can just hit "I"(for it to ignore) twice and
it will continue without any other problems, I would like to get it to
boot without the write protection error.  This is suppose to be a
fully automatic reload disk that will be fully self contained on the
cd.  That includes the reload data and the 4dos command com files.   I
do not want to have to hit any key strokes that are not required(other
than the ones that I have included for fail safe purposes).  I am not
sure why it requires to write to disk, I have shut down the disk
swapping.  Any help on how to configure the 4dos loading process so it
does not need to write to disk will very much be appreciated.  Thanks
in advance!!!

posted by admin in Uncategorized and have Comments (4)

Re: Help

>REM ** DEVICE=C:\SBCD\DRV\SBIDE.SYS /E:MSCD001 /P:170,15 /V
>DEVICE=C:\SBCD\DRV\SBIDE.SYS /E:MSCD001 /V /N /P:1e8,11,3ee

This directive is troubling.  These are the settings (1E8,11) for a
tertiary IDE adapter!  While I suppose that it’s possible that you
have three or more IDE adapters in your system, it doesn’t seem very
likely.  You might want to try using the 170,15 settings from the
first line.  These settings are much more likely to be correct,
although nothing is certain.

However, even after you get the hardware settings right, I still think
your problem will persist.  If your SoundBlaster card is like mine (a
&*#^% Plug-n-Pray card), you won’t be able to get it to initialize
outside of Win9X without first implementing Intel’s PnP Configuration
Manager.  None of my PnP-only cards are recognized under "pure" DOS
without first implementing that PnP manager.

The ICU program can be downloaded directly from Intel.  It’s fairly
large (about 2MB in 2 files at last check).  Creative may also offer
similar files for downloading, but I don’t know that for sure.

It’s hateful to have to deal with all of this, but it will probably
help a lot.  Good luck!

posted by admin in Uncategorized and have No Comments

Bytes freed from DEL or MOVE wrong

Hi,

Is there any way to get DEL and MOVE to report the actual number of bytes
eliminated from a drive rather than just reporting the difference in free
space from the time that the command starts and finishes?  It confused me a
bit just now in that I moved something over to a network drive to free up
about 400MB in space and then I purged something that was about 300MB.  

The purge started after the move and ended before the move ended so the move
reported that 700MB was freed (this is my after the fact analysis after I
spent about 5 minutes trying to figure out what else was moved besides the
400MB that I intended to move and if there was 300MB more, what I did to move
it and where it was on the network.)

Mark

posted by admin in Uncategorized and have Comments (3)

HELP! Screen saver MSDOS

Hi,

I need to create a screen saver which has to run within a DOS4GW
environment. The screen
saver should be somewhat fancier than just a slideshow, but I don’t really
feel like programming
it from scratch. Does anyone have some tips on how to create DOS screen
savers (preferably some
C code). Besides that, what do I have to do to make the screen saver
actually work? (ie. what do
I have to add to my autoexec.bat/config.sys or whatever)

Thanks,

Rogier

posted by admin in Uncategorized and have Comment (1)

Error installing this software, 4dos

I get this error when installing this:

Cannot brand 4DOS–brand installation error 2.

Here is the computer screen:

Enter registered name: Richard Luce
Enter your serial number:  E9500254

Enter your validation code:  17P2-D5J8-A

Then the above error message.

Both programs included in this jppk95.exe file that I
downloaded will not install.  Receive the same message
from both.

My windows 98 message:

Take Command/32  2.01A   Windows 98 4.10
Copyright 1988-1998  Rex Conn & JP Software Inc.  All Rights Reserved
S/N 991005, unbranded copy.  Use subject to terms of the Take
Command/32
license agreement.  May not be distributed to others.

From: serv…@digitalriver.com
Date: Mon, 16 Nov 1998 22:57:35 -0600 (CST)

Dear Richard Luce,

Thank you for ordering through the Digital River
Commerce System. The following email is a summary of
your order. Please use this as your proof of purchase.

Your credit card has been charged in the amount shown
below.

Look for "TSI*DIGITAL RIVER INT" as the merchant on
your credit card statement.

Richard Luce                       Customer Number:
555799  
                                      Order Number:
1157191  
                                        Order Date:
16-NOV-98
122 Carousel Dr              
Vallejo, CA 94589            

Product                                  Qty
Delivery Method    Discount   Price
————————————————————————— ———–
   Windows 95/98 Pack                    1
Digital Delivery   0           99.95
————————————————————————— ———–

Total: $    99.95

Additional information for:    Windows 95/98 Pack
Digital Delivery  
————————————————————————— ———–
serial number: W95 Pack, S/N E9500254,  Valid Code
I7P2-D5J8-A
unlock code: None

If your product(s) are downloadable and you have had
difficulty, you may re-initiate your download by going
to the following URL:

http://www.digitalriver.com/cs

There you will need your password and order number.
(your order number is printed above)

For technical support with the software you have
purchased, please contact supp…@jpoft.com.  This address don’t
work!!

If you have questions about billing or are unable to
download your product, please respond to this email.

posted by admin in Uncategorized and have Comments (2)

network routine

     I employ the following simple routine to track the various devices I have
attached to my network, their corresponding drive letters and available space.
This batch calls Vernon Buerg’s LIST program but 4dos’ own list function will
answer just as well. Name it whatever you like and mend the broken lines where
appropriate.

regards,

Bill

 1.)  @echo off
 2.)  setlocal
 3.)    set dc=%@word[%@random[0,4],2 3 4 5 6]
 4.)    cls %dc on 0

 5.)  do z=67 to %@ascii[%_lastdisk]
 6.)     if %@ready[%@char[%z]:\]=1 set drv=%@trim[%drv%%@if[%@len[%drv]
         gt 0,;,]%@char[%z]:\]
 7.)  enddo

 8.)  set out=%@unique[\]
 9.)  set mo=0
 10.) do %@words[";",%drv]
 11.)  set dsk=%@word[";",%mo,%drv]
 12.)  set mo=%@inc[%mo]
 13.)  echo %@format[6,%dsk] %@format[13,%@label[%dsk]]
      %@format[10,%@if[%@remote[%dsk]=1, [LAN],[LOCAL]]]
      %@format[16,%@diskfree[%dsk,m] megs free]>>%out
 14.) enddo

 15.) type %out|set tsk=%@word[0,%@select[con,6,6,24,57,%@filename[
     %_batchname ]]]
 16.) %tsk %+ list.com %+ del /q %out

posted by admin in Uncategorized and have No Comments

FILECOMPLETION?

Hi all!

        I was wondering if you guys could give me some help/info on this
FILECOMPLETION Directive in 4DOS?  (And also explain to me why not everyone in
the world uses 4dos?  ;)

I tried their default one, file*=cd du:dirs
Which makes COMPLETE sense and is Really cool.  However, what else is this
directive good for?

I had a revelation the other day while using unzip (all the while trying to
think of uses for this thing), and thought.. UNZIP!!  So I set
unzip:zip
And it seemed to work, so I said cool.  However, later I was in the directory
E:\Apps

and tried to unzip -v \<tab>
*BEEP*
Hmm, let’s try  unzip -v \d<TAB>
*BEEP*

Hmm? It seems that, due to the directive, it wouldn’t complete \download for
me?  Is there a way to fix this behaviour at all?  Or, if it will only work in
the local dir as the prev example cited, is there a way I could force to only
try then?  And if I were to put, say, zip * in there, would it try zips, then
try to find everything else?

Any ideas/suggestions greatly appreciated.

I was also wondering about the dir command.  I found this CommanSep directive,
and so I thought ‘hey, let’s make it a ‘;’!’  Which seemed to work fine, until
I got to OS/2.  (Which is where I really do work and think, DOS is just for
fun.)  And while using 4os2, I realized, I commonly do things such as..
dir *.exe;*.com;*.zip or whatever, something like that, so that would NOT
work.  Can I change the dir separator?  (IF so, how, I didn’t see it?)
Preferably to a ‘ ‘ [space], of course.  (Some nice ‘make behave like Unix’
flag would be nice in 4*!)
OR another fix?

And I then noticed that the default CommandSep,EscapeChar and ParameterChar
were different btwn 4dos and 4OS2, so I now decided to change this.  (As is
even mentioned in 4dos help.)  Is there any harm in this?  Obviously that
would cause difficulty with batch files when run from command.com, anything
else?

While I was changing, (unrelated ?, I suppose), I had to remember what it said
in the help in order to put those directives into 4dos.ini, which was really
.. well, at least semi-difficult.  So I re-remembered that I’ve been wanting a
tool to use my mouse to copy for the longest time.  (Why isn’t this in 4dos??)
So I found some 4k util called ‘markit’, not sure if the other If found was
better, but I’ll try later.  In any case, I decided to retry my above, but
then I found that 4dos help has mouse support, so Markit automatically
disabled itself.  (When I reenabled and tried to copy, system froze up.)  Is
there a way to.. disable mouse in Help?  And is there a good util, more
importantly, that somebody can suggest to allow me to copy/paste in DOS?  Much
appreciated!

Anywho, I think that’s all.  And as the subject says, that’s my main question
for now, to learn how this magnificent directive works.

I didn’t see anything about priorities or similar in the help, what I’d like,
is as I said above, it would search in order, or something.  if those files
didn’t exist, then it would go back to normal filename completion behaviour,
forgetting about the cmd-specific stuff..

Anywho.. (Hope this msg was .. understandable!  I have a tendency to rant
sometimes.. ;)

(And I tried a dejanews search, but the only stuff I found about filec was
pre-release stuff.. Hmm..)

Ohh, and I was wondering about loading 4dos onto my 8088, would this be.. a
bad idea and/or impossible?  (Potentially an older version than 6.x, but..)

TIA!

        -Ajay

BTW: Hmm, an afterthought just occurred to me (one of the many reasons I’m
glad I use an offline mailreader..!  Now to remember to how to make a diff,
shorter, sig for news. ;), How about.. !?

Maybe there’s a way to have Filecompletion to have exclude ranges?  Like
certain files will almost never/never be used?  Like I was just trying
to vi sou<tab>, and got one file, no, tab, I figured I’d get the right one,
but no, I got souper\ instead, and didn’t realize what I had, so I typed
‘vi Souper\’ <enter> by accident.  (Hmm, I suppose an exclude range might be
the opposite problem from my unzip problem above?)
Hmm.. darn.. Well, any thoughts/comments would be appreciated.  Too bad we
can’t get 4dos to .. stop us/prompt/something after we enter nonsensical
commands such as that.. As always, any ideas about anything appreciated.. ;)

(And speaking of a mouse copy util, I’d be interested in one not only for DOS,
but also for OS/2 FS (VIO) sessions, if anybody knows of one!  Maybe something
written in assembly could work in both?  (But, for OS/2, I’d like it to
copy/paste in relation to PM Clipboard, if poss, but not nec..))

Ohh, just had one other thought.. Is there a way to recall the previous cmd,
like ‘!!’?  (Either in 4dos, or a way to implement an alias or something..?)
Somebody needs to write a ‘Intro to 4* (JP products) for Unix shell users’
page/faq/something!  ;)  (And yeah, I too was disturbed by the default move
behaviour (/s) of 4dos, annoying..)

Okay, later, and thanks! ;)


Tallam, Ajay     Davis, ca    atallam@.ucdavis.edu      MooTown, HempVille
                        "Take only what you Need"
And come visit me!
                        http://wwwcsif.cs.ucdavis.edu/~tallam/
Quote of the..:

"To say nothing of what you lose, lose, lose, are loosing, man. You fool,
you stupid fool . . . You’ve even been insulated from the responsibility of
genuine suffering . . . Even the suffering you do endure is largely
unnecessary. Actually spurious. It lacks the very basis you require of it
for its tragic nature. You deceive yourself."

                                   Malcolm Lowry, "Under the Volcano", ch.7
                                     [Quote #123 of 143 (avg. 16.30 lines)]

posted by admin in Uncategorized and have No Comments