"Bart Perrier" wrote in message
....snip
> The key is HKLM\Software\Citrix\ICA Client\ --> ClientName and the
> workstations are the infamous Windows 95 with a few Windows 98s.
....snip
The following Batch files is tested on a default Windows 95 installation,
it uses no third-party or non standard utilities. There was a dummy
string value loaded in a string key created in a key with the name you supply:
HKLM\Software\Citrix\ICA Client
"Some String Key"="Value of string"
Note the "quotes" around the registry path, these are essential
when a path contains [Space]s.
Lines that don't begin with two spaces have wrapped accidentally
====Begin cut-and-paste (omit this line)
@ECHO OFF
start /wait regedit /s /e %TEMP%.\KEY "HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ICA Client"
TYPE %TEMP%.\KEY | find "="
DEL %TEMP%.\KEY
ECHO.
CHOICE /c:y /n "Please copy value(s) above and press Y to close window "
CLS
====End cut-and-paste (omit this line)
For Win95/98/ME study/demo use. Cut-and-paste as plain-text Batch file.
Batch file troubleshooting:
http://www.allenware.com/find?UsualSuspects
Screen capture shows operation:
============Screen capture Windows 95
C:\WORK>demo.bat
"Some String Key"="Value of string"
Please copy value(s) above and press Y to close window
============End screen capture
Assuming the user double-clicked the Batch file to run it,
they merely press Y to close the window after they've
copied down the result on whatever form you provide.
--
William Allen
Free interactive Batch Course
http://www.allenware.com/icsw/icswidx.htm
Batch Reference with examples
http://www.allenware.com/icsw/icswref.htm
Header email is rarely checked. Contact us at
http://www.allenware.com/