Marv Klotz's Utilities

Home Model Engine Machinist Forum

Help Support Home Model Engine Machinist Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Joined
Sep 6, 2007
Messages
1,275
Reaction score
322
Location
Skibbereen, West Cork
I cannot open any of Marvin Klotz's utilities. www.myvirtualnetwork.com/mklotz/

I have tried to follow his instructions to the letter without success.

I am running Windows Vista on a Sony Viao computer. The DOS Command Prompt opens with
C:\Users\Julan> and I am not able to change directory, no matter what I try to do.
So I put the unzipped utility in that directory but then I get a message:
"keyway.exe is not recognised as an internal or external command, operable program or batch file"
And another problem, when trying to alter the properties to uncheck the 'Close on exit' property, I get the message:
"The properties for this program are not available"

Can any of you Computer whizzkids help this Computer Dunce, please.

Frustrated in Saudi-Arabia-On-Sea
Dave
 
Dave
Marv has a posted pretty detailed disclaimer on his site about the programs being written in and for true DOS operating environments. Thank Bill gates for removing all but the barest portions of DOS from Windows since the days of DOS 5.0. In fact, I believe Windows Vista was to have finally removed the last usable vestiges of legacy support.

The disclaimer was written to address the issue, as it became more common. Marv's recent responses to this have leaned heavily to the "Read the Disclaimer First". As popular as his proglettes have become, i suspect he gets quite a bit of mail on the subject.

Steve
 
I think it would be sweet to have marvs software re-written to run in flash so it would run in a web browser. even package them for download for offline use like thay are now but in flash.

I bet I can work some of them over in basic and compile them into stand alone .exe files with printer output of data and the whole works.

I do think flash or java would be the way to go, something that would run on any mac, windows or linux box with no hassles.

Im not dogging marvs programs im just saying I would like to rework some of them to be a bit more user friendly and cross platform.
 
Thanks to you both, Steve & Mike for your replies.

And Mike, if you are able to make Marv's utilities available to those with modern (obviously not better!) operating systems, then I'm sure there would be quite a few happy chappies out there, not least me.

Dave
Saudi-Arabia-On-Sea
 
Vista, huh? No wonder it won't run. Vista is not designed to run any useful programs.

I doubt that your problem has anything to do with my code although you may want to check by attempting to run one of my other simpler programs, e.g., CHORD or BOLTCIRC. KEYWAY doesn't do anything convoluted - it's simple computation with output directly to the screen.

If you need an answer immediately, PM me the input parameters and I'll run the case for you.

 
I have heard many tales of woe about Vista, but for a Computer simpleton like me, I don't know enough about these things to find anything wrong with it - until now that is!

When I posted my query, I used 'Keyway' as an example. In fact I downloaded about 12 of your utilities that I thought might come in useful some time. But many thanks for your offer, just the same.

Dave
in Sunny Saudi
 
I don't want to cast any aspersions on your computer skills but I will say that I've never had anyone complain to me that one of my programs didn't run on Vista.

I suppose that it's possible that you're the first Vista user to try one of my programs but, given the length of time Vista has been around to confound us, I sort of doubt it.

The sequence that works on XP is:

Start - Run - Cmd

which opens a window in which the programs will run normally.

I keep a shortcut to Cmd on my desktop and from it can run a small batch file that makes the folder containing the programs available.

@echo off
prompt $L$P$G
SET PATH=C:\Documents and Settings\HP_Administrator\Desktop\CCC\

where CCC is the folder containing the programs.

Perhaps some of the guys who use Vista can translate this procedure into something that works on that abortion. I'm pleased to report that I can't. :)
 
I've always been a bit laid back about folks knocking Microsoft and just got on with using it, as far as XP is concerned I find it "pretty much" fine ........ then again, as there ain't a lot of competition readily available (as far as I know) .....etc etc ...

Again, I thought the same about Vista, even after I installed it and used it for a while ::)

Then it began to ask me if I really wanted to "do that" almost every time I pressed a button, and it's a persistent little beggar ............. as I progressed with the installation I found several programs that I had previously bought were "not compatible" ....... or whatever the Microsoft slang is for that,


After that I uninstalled it and the disc was consigned to the bin ??? ........... It seems to me that an operating system that I paid hard earned £'s for, which then does it's best to second guess my every other move, then attempts to empty my bank account by having me upgrade software which has served me well for many years is not a major step forward, unless you sell software that is.

Marv, can I apply to join your Vista appreciation society ;) .............. it appears I may have to investigate Linux, not that I particularly want to, to me a computer is a useful tool, not something I should have to wrestle with every day :mad:

If anyone has a simple solution please shout up, my "small son" has recently bought a new laptop which has Vista pre-installed, he's not computer literate at all, he just wants to use it, Vista is driving him potty :'(

CC
 
Dave,

I've tried everything to replicate your problem on Vista x64 ultimate (spit) to no avail. i.e giving myself the lowest access rights etc etc

Now don't shoot me down in flames, I have to ask....... You have unpacked the zip file haven't you?

for example you should have the following files in whatever folder you are trying to run "keyway.exe" from:

keyway.exe
keyway.c
keyway.jpg

Just a thought

David

BTW I can't stand Vista either but I have it dual booting on my laptop along with Ubuntu linux and XP just so I can support the family when they ring up in a panic. If I had my way they would all be running OS/2 :big:
 
Patience guys.

DOS is an operating system that Bill Gates used to start his Microsoft multi billion dollar
empire with. He didn't own it or even know what it was at the time, but he DID buy the
rights to it the day AFTER he sold it!

It's a tired old way of using a computer processor, but well worth the efforts of unlocking it's
mystery's to be able to use Marv's Utilities!

Rick
 
David

Yes, I have unpacked the various Utility programs and they are each in their own folder.

I first of all used the Start>Programs>Accessories>Command Prompt to try and open 'Keyway' (or any of the other Utilities).

Then I read Marv's response so I tried Start>Run>keyway.exe (with all the folder preamble before it)
A flash on the screen and then the screen went back as if nothing had happened.

Talking of batch files
@echo
prompt $L$P$G
etc. means nothing to me. It might as well be Chinese for all the sense it makes!

A still confused and frustrated Dave
 
I've used both Vista and XP with Marv's programs without trouble-- except having to drop to DOS to use them of course.

Funny story-- Microsoft took a bunch of longtime XP die-hards and showed them the new 'Mojave' OS. They liked it. Turned out it was Vista with a different theme... anyway..

It may be important where you put the programs-- Vista gets whiny about where executables can live (which is good from a security perspective, but a pain in the rear otherwise). Here's what I do on Vista:

First download the zip and extract the 3 files to somewhere like YourUserName\Downloads\Keyway

Then go to Start->All Programs->Accessories->Commmand Prompt, right-click it and hit 'Run As Administrator'
Once in the Command Prompt, CD c:\Users\YourUserName\Downloads\Keyway
and then run KEYWAY.EXE

---alternatively---

Another thing you can do if you don't want to go muck around in DOS is to unpack the files to \YourUser\Downloads\Keyway, then open that folder (click on your name on the start menu, then open Downloads, then Keyway), right-click on keyway.exe and hit 'create shortcut'. Then right-click the new shortcut and hit Properties. On the Program tab (there should be a goofy MS-DOS logo on that page, if not, let us know), uncheck 'close on exit' and hit 'Ok'. Double-click the shortcut to run it.

 
I had a similar problem when first using Marv's programs on a machine running XP. I think the program finishes running and therefore thinks you are done without showing the results! A setting needs to be changed and IIRC I found the fix on Marv's site. Hopefully this will help, I can't check it out now since I'm at work using my Mac ;)

Peter

Shred beat me to the punch. That was the fix I was thinking of.
 
Shred

Many thanks for your explanation. I've finally managed to get the Utilities to work.

Still can't do it through DOS, but via the shortcut. Never mind how, at least I can get into them now.

End of frustration!

Dave
Saudi-Arabia-On-Sea
 
My thanks to Shred for detailing the procedures he uses.

Isn't it mind-boggling that such complicated machinations are needed to run some dead-simple programs that do nothing more than take a few inputs, make some computations, and output a few answers? It really highlights just how ridiculous Microsoft's ideas of how to manage a computer have become.

If I write a program that has only a small amount of output (e.g., TRIANGLE or KEYWAY or CSEG), I write the output to the screen during execution and then terminate the program. If the window is set to "close on exit", the information disappears before you have a chance to read it. This is why the "close on exit" option has to be disabled.

Programs that produce prodigious output (e.g. CHANGE) or a chart meant to be printed and carried to the shop (e.g. BALLCUT) will write their output to a file in the parent directory and then terminate with a message indicating the name of the output file. These ouput files, regardless of their extension, are pure ASCII and can be viewed (and edited) in any editor.
 
I had a laptop for a while with Vista installed, and no drivers to "downgrade" it to XP. Can't really say I enjoyed using it. I turned off as much of the "idiot-proofing" as possible, and it constantly complained that my computer wasn't "secure". I know that I'll have to use it again some day. I just hope that by then they've made it a bit more usable.

Let me first applaud Marv for providing these utilities free of charge, and apparently providing a reasonable amount of free support on top of that!

That said, if there's to be an effort to port these utilities to another language/platform, I'd be more than willing to help out the cause. I'm skilled in a number of programming languages including: BASIC, Java, Pascal, C (and variants), Python, PHP, JavaScript, and god knows what else I've had my fingers into... :) Chances are, if I haven't already seen it, it wouldn't take me long to pick it up.

So, the offer is there. If anyone wants to take me up on it or put forth a team effort, just PM or email.

-Sparky
 
What I've been doing lately with my DOS programs is having them run continuously to avoid the dreaded close-on-exit-- the first input will have an exit option like so "data size? [0=exit]:" and then it runs in a loop over and over until it gets the exit value. My programs are usually a little different than Marvs, though I often run through his a number of times each when playing with the numbers.
 
Quoted from Marv's last reply:

Isn't it mind-boggling that such complicated machinations are needed to run some dead-simple programs that do nothing more than take a few inputs, make some computations, and output a few answers? It really highlights just how ridiculous Microsoft's ideas of how to manage a computer have become.

If the window is set to "close on exit", the information disappears before you have a chance to read it. This is why the "close on exit" option has to be disabled.

[end quote]


This brings to mind the famous retort from GM's boss about a dig by Bill Gates at their products:

General Motors

At a recent computer expo (COMDEX), Bill Gates reportedly compared the computer industry with the auto industry and stated: "If GM had kept up with technology like the computer industry has, we would all be driving twenty-five dollar cars that got 1000 mile to the gallon."

In response to Bill's comments, General Motors issued a press release stating, (by Mr. Welch himself) "If GM had developed technology like Microsoft, we would all be driving cars with the following characteristics:

• For no reason whatsoever your car would crash twice a day.

• Every time they repainted the lines on the road you would have to buy a new car.

• Occasionally your car would die on the freeway for no reason, and you would just accept this, restart and drive on.

• Occasionally, executing a maneuver such as a left turn would cause your car to shut down and refuse to restart. In which case you would have to reinstall the engine.

• Only one person at a time could use the car, unless you bought "Car95" or "CarNT." But then you would have to buy more seats.

• Macintosh would make a car that was powered by the sun, reliable, five times as fast, and twice as easy to drive, but would only run on five percent of the roads.

• The oil, water temperature, and alternator warning lights would be replaced by a single "general car fault" warning light.

• New seats would force everyone to have the same size body. The airbag system would say "Are you sure?" before going off.

• Occasionally for no reason whatsoever, your car would lock you out and refuse to let you in until you simultaneously lifted the door handle, turned the key, and grabbed hold of the radio antenna.

• GM would require all car buyers to also purchase a deluxe set of Rand McNally road maps (now a GM subsidiary), even though they neither need them nor want them.

• Every time GM introduced a new model car, buyers would have to learn how to drive all over again because none of the controls would operate in the same manner as the old car.

• You'd press the "Start" button to shut off the engine.

Dave
in sunny Saudi
 
I can't tell you how many people have emailed me and told me that they were going to convert my programs to some more "modern and wonderful" format. I've blessed and encouraged every one of them in their aspirations. To date I've never been informed of A SINGLE PROGRAM that has been so converted.

Since the source code for every program I've written is included in the distributions, this absence of accomplishment can't be attributed to difficulty in understanding how the program works. By definition, the source code is a completely unambiguous description of the program's operation - after all, a machine can understand it. So, what's wrong?

Perhaps these people finally realize just how big a task such a conversion would be and are overpowered by the effort once they look at it closely. Remember, to do the conversion properly you not only need to write the new code but you need to debug it properly. (You can depend on the fact that I'll be checking the new program and I understand the relevant mathematics well enough to construct test cases that will really stress the new code.)

Then there's the matter of the user interface. I'm a real stickler for the idea that the code should do ALL the work for the user. It should request only the most essential input data and do that in the most natural form - the form in which it would present itself from the problem. Output should also be in a natural, easy to comprehend format that is directly usable in the shop environment. Any deviations from these dicta that do not improve usability are going to receive severe criticism.

Finally, there's the question of the basic value of the (conversion) process. These are very narrow application programs written for a comparatively tiny niche market. It might be worth converting a major general purpose program (such as a CAD program) but is it worth converting a tiny utility that computes which wires to use when measuring threads? You can't simply forego converting the simpler programs. Remember, the collection is meant to address the needs of the innumerates and mathophobes as well as the more mathematically sophisticated folks.

Plus, Microsoft being what it is, who is to say that the next idiocy that comes out of Renton will be able to run the converted programs? I wouldn't be surprised to learn that it's part of Microsoft's business model to make programming impossible on their computers for all but professional users - thus ensuring that they would never have competition from amateurs like me.

Maybe spending a half hour to learn how to run legacy DOS programs on your computer isn't such a bad tradeoff after all.
 
mklotz said:
Maybe spending a half hour to learn how to run legacy DOS programs on your computer isn't such a bad tradeoff after all.

All quite true - even the parts I didn't quote above. I'm not suggesting that a conversion is necessarily the best thing to do, just that I'd be willing to help if there were a bunch of capable people who wanted to undertake the effort. Chances are that I wouldn't be interested in doing it alone because of many of the reasons you bring up.

I think the main reason why I'd be interested in doing so would be for those poor unfortunate people that use those incompatible - yet superior - operating systems and architectures.

What I envision is something that includes the logic of each program, but has it organized into a very simple menu structure so that you can see everything that's available (for the less-than-computer-savvy folks). I'm a big fan of "text in, text out" programs for doing simple things and would propose to keep that same spirit.

I didn't actually realize that you provide all of the source as well. I'll have to have a look.

It seemed to me that there was some desire to have some ports, and since I have the ability to help, I thought it would be nice to offer. If there's no demand, it would make no sense for me to expend the effort.

-Sparky
 

Latest posts

Back
Top