Linux Commands Examples

A great documentation place for Linux commands

regedit

Wine registry editor


see also : wine

Synopsis

regedit [textfile]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
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}"
0
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

How can this site be more helpful to YOU ?


give  feedback