Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
michaelhunter33

25.05.2009, 03:36
 

INSTALL not a recognizable command. Need help (Users)

I am trying to install a very small DOS program on to a Windows XP machine.
The diskette contains two files:

REPLACE. BAT (2KB) and TRIPLAY.EXE (145 KB)

The program's .exe file cannot be run from the diskette it comes in.
In order to install the program, the instruction call for the command

A:\>INSTALL C

That is the word INSTALL followed by a space followed by the letter for the hard drive I am installing on to (Drive C in my case)

When I do that I get the message:
"INSTALL is not recognized as an internal or external command, operable program or batch file"

What other command(s)can I use or how else can I install this program?

Any help would be appreciated.

rCX

Maryland, USA,
25.05.2009, 06:45

@ michaelhunter33
 

INSTALL not a recognizable command. Need help

> When I do that I get the message:
> "INSTALL is not recognized as an internal or external command, operable
> program or batch file"

"INSTALL C" won't work unless there is a program called install.exe (or install.com) on the disk. Have you tried running triplay.exe or replace.bat directly? If needed, they can be copied to the c drive using...

copy a:\triplay.exe c:\
copy a:\replace.bat c:\

michaelhunter33

25.05.2009, 21:12

@ rCX
 

INSTALL not a recognizable command. Need help

Thanks for your response.
The .EXE files cannot be run directly.
But I think I found an alternative solution.

Thanks again.

rr

Homepage E-mail

Berlin, Germany,
25.05.2009, 22:03

@ michaelhunter33
 

INSTALL not a recognizable command. Need help

> But I think I found an alternative solution.

Please enlight us! :-)

---
Forum admin

marcov

05.06.2009, 10:07

@ rr
 

INSTALL not a recognizable command. Need help

> > But I think I found an alternative solution.
>
> Please enlight us! :-)

Maybe it is Vista not XP? That is a known issue, the UAC prompt and console apps appear not to be compatible.

http://www.stack.nl/~marcov/buildfaqold/#x1-450002.4.3

btw, mingw has added manifest to several files since I wrote the above, but I haven't put them to the test yet.

Rugxulo

Homepage

Usono,
11.06.2009, 04:31

@ marcov
 

INSTALL not a recognizable + UAC / Vista comments

> > > But I think I found an alternative solution.
> >
> > Please enlight us! :-)
>
> Maybe it is Vista not XP? That is a known issue, the UAC prompt and
> console apps appear not to be compatible.
>
> http://www.stack.nl/~marcov/buildfaqold/#x1-450002.4.3
>
> btw, mingw has added manifest to several files since I wrote the above,
> but I haven't put them to the test yet.

Here's some random comments, if you care:

1). Vista by default is non-admin, and whines if you try running any of the following from CMD manually or from a .BAT file (but inside DJGPP's Bash or makefile is fine, no problems): setup, install, patch, update. This, plus DJGPP's redir, makes for quite a lot of conflicts. I ended up making .EXE symlinks (2k each) to djpatc, djupdat, djredir (it can't have the full "patch" in the name or else it still flags, ugh). Kinda braindead behavior.

2). I don't understand manifest files at all, looks very confusing, complicated, etc. However, I did try to write a manifest for a DJGPP app, but all my attempts failed. My (unproven) hypothesis is that DOS apps can't have (working) manifest files.

3). SP1 fixed UAC to not trigger as much unnecessarily. You can also (unwisely?) disable UAC if it's really a problem or run CMD as Admin (Win key -> search/enter -> "cmd" (hold LShift + LCtrl and then press Enter, confirm). Not ideal, so I never do that much (but I'd rather not disable UAC without a good reason, even if it hasn't really proven useful yet).

4). Windows 7 comes out on Oct. 22, and it has even better UAC (supposedly) with "saner" defaults. It even claims to be faster at bootup, not require any more resources than Vista, and can actually run on a Netbook (e.g. say goodbye to XP). If you buy any Vista computer on June 26th or later (U.S. only??), they'll give you a free upgrade to Win7.

<joking>
"And if you act now, non-Home (business) users get a free XPM (XP inside VirtualPC) download because compatibility is still lousy due to having the same basic kernel (NT 6.1)."
</joking>

Oddly enough, many people consider Win7 to be Vista SP2, but SP2 just came out (although Win Update hasn't offered it to me yet, meh). While I think it's more of an overhaul than just a minor fix, I do wonder why they're pushing so hard for it instead of just adding to Vista. Or at least I wonder why Vista is still pushed so hard when Win7 is so heavily preferred.

P.S. Just for comparison, Linux 2.6.30 came out today, and I think this is the first stable release to have VFAT (writing only) limited to 8.3 due to patent concerns.

BTW, marcov, you probably don't care or already have one, but here's a download link to a Cygwin-hosted G++ 3.3.6 compiler targeting Linux (32-bit and 64-bit): http://metamod-p.sourceforge.net/cross-compiling.on.windows.for.linux.html

Back to index page
Thread view  Board view
22049 Postings in 2034 Threads, 396 registered users, 254 users online (0 registered, 254 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum