You could run regedit (yes, even from a Linux Bash shell) and drill down to HKEY_LOCAL_MACHINE -> System -> CurrentControlSet -> Control -> Session Manager -> Environment and modify the PATH there. But whenever I install or upgrade wine, I have a script I run to make sure it's got my favorite stuff configured right. This is one item taken from that script: Code: #!/bin/sh # Modify the registry cd ~/.wine REGFILE="/tmp/$$.reg" cat >$REGFILE <<'EOF' REGEDIT4 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment] "PATH"="c:\\bin;c:\\windows\\system32;c:\\windows;c:\\other\\paths" [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion] "RegisteredOrganization"="self" "RegisteredOwner"="user" [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion] "RegisteredOrganization"="self" "RegisteredOwner"="user" EOF regedit $REGFILE || echo "WARNING: regedit returned $?" rm -f $REGFILE This is another, more direct way to modify the registry. But it depends on knowledge of the way Wine stores the registry, so it's less robust: Code: # Use of sed: sed '/^pattern/s/old/new/' # Add c:\bin to the front of the path (save a backup with ".orig" added) sed -i.orig '/^"PATH"="c:..windows/s/"="/"="c:\\\\bin;/' system.reg