Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

REG.EXE or SWREG.EXE for Win98?

- - - - -

  • Please log in to reply
8 replies to this topic

#1
North of Watford

North of Watford

    Junior

  • Member
  • Pip
  • 65 posts
Do you have, or know where I can get, versions of either or both of these programs that run in Win98SE? I want one or other for a batch file.

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


How to remove advertisement from MSFN

#2
loblo

loblo

    Oldbie

  • Member
  • PipPipPipPipPip
  • 754 posts
  • OS:ME
  • Country: Country Flag
You can find reg.exe here (you may need to use an ftp browser if your web browser does not want to connect): ftp://ftp.microsoft.com/Services/TechNet/samples/PS/Win98/Reskit/REGISTRY

Syntax and examples in WIN98RK.CHM at ftp://ftp.microsoft.com/Services/TechNet/samples/PS/Win98/Reskit/HELP btw.

:hello:

Edited by loblo, 09 October 2010 - 04:49 PM.


#3
herbalist

herbalist

    paranoid independent

  • Member
  • PipPipPipPipPip
  • 726 posts
  • OS:98
  • Country: Country Flag
Regedit.exe works in batch files. Syntax here.

#4
North of Watford

North of Watford

    Junior

  • Member
  • Pip
  • 65 posts
Many thanks to both of you for such swift responses.

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
dencorso

dencorso

    Adiuvat plus qui nihil obstat

  • Super Moderator
  • 5,756 posts
  • OS:98SE
  • Country: Country Flag

Donator

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?

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? :P

#6
jds

jds

    -DOS+

  • Member
  • PipPipPipPip
  • 603 posts
  • OS:98SE
  • Country: Country Flag

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?

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? :P


Actually ...

c:\djgpp\bin\redir -eo java -version > gotcha.txt :yes:

Of course, you'll need to go here first : http://www.delorie.com/djgpp/

Joe.

#7
North of Watford

North of Watford

    Junior

  • Member
  • Pip
  • 65 posts

Actually ...

c:\djgpp\bin\redir -eo java -version > gotcha.txt :yes:

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
dencorso

dencorso

    Adiuvat plus qui nihil obstat

  • Super Moderator
  • 5,756 posts
  • OS:98SE
  • Country: Country Flag

Donator

:blink: Wow!
Great catch, Joe! :thumbup
It'd never have crossed my mind it might be writing to stderr... :blushing:
Of course, thanks to you, from now on, that'll be part of my hypotheses palette. :yes:

Now, if I may suggest a trivial improvement to your great idea:

c:\djgpp\bin\redir -eo java -version | find "version" > gotcha.txt

#9
jds

jds

    -DOS+

  • Member
  • PipPipPipPip
  • 603 posts
  • OS:98SE
  • Country: Country Flag

You can find reg.exe here (you may need to use an ftp browser if your web browser does not want to connect): ftp://ftp.microsoft.com/Services/TechNet/samples/PS/Win98/Reskit/REGISTRY

Syntax and examples in WIN98RK.CHM at ftp://ftp.microsoft.com/Services/TechNet/samples/PS/Win98/Reskit/HELP btw.

:hello:


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.com/Services/TechNet/samples/PS/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).

Edited by jds, 10 June 2011 - 02:14 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN