Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using some software that doesn't react well when run in a directory path with a space in its name. I created my Windows 7 account as "JOHN DOE" and so now my Documents and Settings has a space on it. Should I change my login name to "JOHN" ? If so, how do I change my home directory?

Thanks.

share|improve this question
    
Why is the program being run from within your documents and settings folder in the first place? Might it be easier to just move the program to something like C:\stupidprogram\ ? –  nhinkle Dec 4 '10 at 22:36
    
Because I am compiling with mingw's MSys program and I'm building the programs in my home directory. Configure scripts run libtool, which doesn't work well when there are spaces in paths because it calls sub-shells without properly quoting. Aren't you glad you asked? –  vy32 Dec 5 '10 at 5:22
add comment

1 Answer

up vote 3 down vote accepted

You need to create a new account, then copy your old user profile over to the new account, when you are happy with the new user account delete the old one.

Scroll down to "copying your user profile"

This article is for XP, but the instructions are very similar for Vista/W7

http://www.lockergnome.com/it/2004/12/15/get-it-done-recover-a-damaged-windows-xp-user-profile/

There may be other documents you need to copy and paste from the old user documents folders, be sure you have everything copied before you delete the old account.

See "Copy files to new user profile:" under Step B http://www.quickonlinetips.com/archives/2010/09/how-to-fix-corrupted-user-profile-in-windows-7/

You can change the account name, but doing this will Not change the name of the user account folder, it cannot be changed, you have to create a new user account with the name you need.

.

share|improve this answer
    
Ugh. Thanks. Very complicated. –  vy32 Dec 5 '10 at 5:23
    
Looks more complicated than it is. –  Moab Dec 5 '10 at 18:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.