Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to make Chromium portable, and according to this page I have to add --user-data-dir=<dir> as a command line-switch to chromium in order to use a custom directory to save personal data.

This is what I did:

  1. Downloaded the latest Windows chromium build (
  2. Extracted to a directory and within the directory I created a new one named userdata.
  3. cd'd to the right directory and executed this command: chrome.exe --user-data-dir=userdata.

However, I noticed no files were made in userdata and after checking I see that the userdata is saved in C:\Users\<username>\AppData\Local\Chromium\User Data\Default (the default) instead.

What did I do wrong?

Windows 7 Home Premium 64 bit

share|improve this question
up vote 1 down vote accepted

You need to give the complete path to your data directory.

For instance, if you've extracted it to C:\Chrome, and created a folder called userdata inside that, you need to run

chrome.exe --user-data-dir="C:\Chrome\userdata"

Its always good to use quotes in windows arguments.

Also you can try running

chrome.exe --user-data-dir=".\userdata\"

Here . refers to the current directory(c:\Chrome\) in this case

(It might work, but I don't have a Windows sytem right now to test it)

share|improve this answer
I haven't tested this yet, but I'll accept it. – orlp Oct 20 '11 at 12:21

Your Answer


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.