regedit
Wine registry editor
see also :
wine
Synopsis
regedit
[textfile]
add an example, a script, a trick and tips
examples
source
if ! regedit /E /dev/null
"HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft
Games\Age of Empires Expansion\1.0" &> /dev/null;
then
sed -e "s|@APP_DIR_WINE@|${APP_DIR_WINE//\\/\\\\\\\\}|g"
"${APP_USR}/ror.reg.in" > "${__tmpReg}" &&
regedit "${__tmpReg}"
&&
rm "${__tmpReg}"
source
player_wine () {
if regedit wine.reg
then
echo -n 'OK'
else
echo -n 'Error'
fi
}
cd $BASEDIR
|| exit 1
description
regedit
is the Wine registry editor, designed to be compatible with
its Microsoft Windows counterpart. If called without any
options, it will start the full GUI editor.
The switches
are case-insensitive and can be prefixed either by
’-’ or ’/’.
options
-E
file [regpath]
Exports the content of the
specified registry key to the specified file. It
exports the whole registry if no key is specified.
-D
Deletes the specified registry key.
-S
Run regedit silently (ignored, CLI mode is always
silent). This exists for compatability with Windows
regedit.
-V
Run regedit in advanced mode (ignored). This exists for
compatability with Windows regedit.
-L
Specifies the location of the system.dat registry file
(ignored). This exists for compatability with Windows
regedit.
-R
Specifies the location of the user.dat registry file
(ignored). This exists for compatability with Windows
regedit.
-?
Prints a help message. Any other options are
ignored.
-C
Create registry from file (unimplemented).
see also
wine