err:process:init_windows_dirs directory L"c:\\windows&q

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
fowie
Newbie
Newbie
Posts: 2
Joined: Tue Oct 14, 2008 9:05 pm

err:process:init_windows_dirs directory L"c:\\windows&q

Post by fowie »

I get the following error trying to run anything in wine:

Code: Select all

fowie@fowie-desktop:~$ wine /media/cdrom0/install\ studio\ 8.exe 
err:process:init_windows_dirs directory L"c:\\windows" could not be created, error 2
err:process:init_windows_dirs directory L"c:\\windows\\system32" could not be created, error 3
err:process:init_windows_dirs directory L"c:\\windows" could not be created, error 2
err:process:init_windows_dirs directory L"c:\\windows\\system32" could not be created, error 3
err:wineboot:main Cannot set the dir to L"c:\\windows" (2)
err:process:init_windows_dirs directory L"c:\\windows" could not be created, error 2
err:process:init_windows_dirs directory L"c:\\windows\\system32" could not be created, error 3
err:process:init_windows_dirs directory L"c:\\windows" could not be created, error 2
err:process:init_windows_dirs directory L"c:\\windows\\system32" could not be created, error 3
wine: could not load L"D:\\install studio 8.exe": Module not found
I'm using Ubuntu Hardy 8.04, and I've done an apt-get remove --purge of wine and reinstalled, to no avail. I seem to remember trying something a while back to fix wine so it would let me run an old Dos game, but can't remember what it was. Any ideas where to look?
Tlarhices
Level 4
Level 4
Posts: 101
Joined: Sun Mar 02, 2008 9:28 pm

Re: err:process:init_windows_dirs directory L"c:\\windo

Post by Tlarhices »

fowie wrote:I get the following error trying to run anything in wine:

Code: Select all

fowie@fowie-desktop:~$ wine /media/cdrom0/install\ studio\ 8.exe 
err:process:init_windows_dirs directory L"c:\\windows" could not be created, error 2
err:process:init_windows_dirs directory L"c:\\windows\\system32" could not be created, error 3
err:process:init_windows_dirs directory L"c:\\windows" could not be created, error 2
err:process:init_windows_dirs directory L"c:\\windows\\system32" could not be created, error 3
err:wineboot:main Cannot set the dir to L"c:\\windows" (2)
err:process:init_windows_dirs directory L"c:\\windows" could not be created, error 2
err:process:init_windows_dirs directory L"c:\\windows\\system32" could not be created, error 3
err:process:init_windows_dirs directory L"c:\\windows" could not be created, error 2
err:process:init_windows_dirs directory L"c:\\windows\\system32" could not be created, error 3
wine: could not load L"D:\\install studio 8.exe": Module not found
I'm using Ubuntu Hardy 8.04, and I've done an apt-get remove --purge of wine and reinstalled, to no avail. I seem to remember trying something a while back to fix wine so it would let me run an old Dos game, but can't remember what it was. Any ideas where to look?
You will have to erase your .wine folder. Run :

Code: Select all

rm -rf ~/.wine
To remove everything you have made to wine configuration and everything you installed in it.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: err:process:init_windows_dirs directory L"c:\\windo

Post by vitamin »

Tlarhices wrote:
fowie wrote:You will have to erase your .wine folder. Run :

Code: Select all

rm -rf ~/.wine
To remove everything you have made to wine configuration and everything you installed in it.
Which might not be enough. Mos tlikely you used sudo to run Wine and your ~/.wine directory is owned by root. You might need to use 'sudo rm -rf ~/.wine' to remove this directory. And for the future remember never to use 'sudo' to run Wine.
fowie
Newbie
Newbie
Posts: 2
Joined: Tue Oct 14, 2008 9:05 pm

Post by fowie »

Worked great. I figured that apt-get remove --purge would've taken care of that, guess not. Thanks!
Locked