REG.EXE or SWREG.EXE for Win98? Looking for a version of these programs to use in batch files
#1
Posted 09 October 2010 - 02:20 PM
SWReg.exe is a disappointment, as the web page promises that it will work in Win9x, but when tried it actually tells me it is missing something from NT Kernel. I have tried the Microsoft versions 1.0, 1.5, and 2.0. All of them want a WinNt family OS in order to get out of bed.
Many thanks for any help you can give.
Jeff
#2
Posted 09 October 2010 - 04:29 PM
Syntax and examples in WIN98RK.CHM at ftp://ftp.microsoft....n98/Reskit/HELP btw.
This post has been edited by loblo: 09 October 2010 - 04:49 PM
#4
Posted 10 October 2010 - 02:45 AM
Thanks for the info about RegEdit. I hadn't realised that it would work in a batch file. I'll tuck that gen away somewhere safe. What I want to do is find the current version of Java. Alas, I can't see the switches on RegEdit allowing me to do that.
Thanks for the location of the Win98 ResKit. I had been hunting all over the place to find it; talk about hiding something in plain sight! The version of Reg.exe there is 1.03. As I will probably want to use the kit for longer than MS want to make it available, I think I will do the obvious!
A quick gripe in passing at the developers of Java: Why do they make it impossible to redirect the output of the command "java -version" to a text file? But at least I can now find it out, thanks to the help of your good selves.
Jeff
#5
Posted 10 October 2010 - 03:19 AM
North of Watford, on 10 October 2010 - 02:45 AM, said:
Probably because java uses "BIOS" not "DOS" services to write... I'ts a PITA, but, then again, it'd be fun if java relied on DOS, wouldn't it?
#6
Posted 11 October 2010 - 11:35 PM
dencorso, on 10 October 2010 - 03:19 AM, said:
North of Watford, on 10 October 2010 - 02:45 AM, said:
Probably because java uses "BIOS" not "DOS" services to write... I'ts a PITA, but, then again, it'd be fun if java relied on DOS, wouldn't it?
Actually ...
c:\djgpp\bin\redir -eo java -version > gotcha.txt
Of course, you'll need to go here first : http://www.delorie.com/djgpp/
Joe.
#7
Posted 11 October 2010 - 11:51 PM
jds, on 11 October 2010 - 11:35 PM, said:
c:\djgpp\bin\redir -eo java -version > gotcha.txt
Of course, you'll need to go here first : http://www.delorie.com/djgpp/
Joe.
Joe,
Many thanks. I never even thought of that.
Jeff
#8
Posted 12 October 2010 - 01:34 AM
Great catch, Joe!
It'd never have crossed my mind it might be writing to stderr...
Of course, thanks to you, from now on, that'll be part of my hypotheses palette.
Now, if I may suggest a trivial improvement to your great idea:
c:\djgpp\bin\redir -eo java -version | find "version" > gotcha.txt
#9
Posted 09 June 2011 - 07:27 PM
loblo, on 09 October 2010 - 04:29 PM, said:
Syntax and examples in WIN98RK.CHM at ftp://ftp.microsoft....n98/Reskit/HELP btw.
Just found there's a little security update to the W98 Resouce Kit : ftp://ftp.microsoft.com/reskit/win98/
Also, for those wishing to download the RK (etc.), the 'wget' (or 'wget_w32') utility works a treat, recursive syntax is : wget -r ftp://ftp.microsoft....S/Win98/Reskit/
(start near the root directory of your local drive, to limit the overall directory depth created)
Joe.
PS. The version of 'reg.exe' that comes with ResKit 98 is 1.0.3. If you need version 2.* of 'reg.exe' (the command options are significantly changed), you can get version 2.0.0 (for W2000, but runs on W98, at least with KernelEx installed) from : http://download.micr...upporttools.exe (open with 7-Zip to get 'support.cab', then extract 'reg.exe' from that).
This post has been edited by jds: 10 June 2011 - 02:14 AM
- ← Need an original (unmodified) Windows 95 CD-ROM Setup Boot Disk image
- Windows 9x / ME
- Win95 available memory →



Help
Back to top









