My 1 TB system disk (C:) is getting really full, and this is due to lots of pics and videos in my User folders.  All this is being stored on C:, but I have just installed a new 2 TB hard drive, and I would like to have Windows move all this stuff to the new drive (K:).  I know I can't just highlight, cut and paste, but how is this supposed to be done?
Let's say I have Windows installed on drive C, however I install all of my programs on the D drive, and I keep my user profile on the D drive as well (things like My Documents). How can I have Windows use those folders instead of the ones on the C drive?
How to prove or disprove following statement :     There are infinitely many primes of the form : $\lfloor \sqrt {3} \cdot n \rfloor $    Note: This is a problem I made myself.  There is a theorem that states :  $\lfloor nx \rfloor = \begin{cases}  n\lfloor x \rfloor, &amp; \text{if } 0 \leq \{x\} &lt; \frac{1}{n} \\  n\lfloor x \rfloor +1, &amp; \text{if } \frac{1}{n} \leq \{x\} &lt; \frac{2}{n} \\  n\lfloor x \rfloor +2, &amp; \text{if } \frac{2}{n} \leq \{x\} &lt; \frac{3}{n} \\  \vdots \\  n\lfloor x \rfloor +n-1, &amp; \text{if } \frac{n-1}{n} \leq \{x\} &lt; 1 \\ \end{cases}$  where $\{x\}$ is a non-integer part of $x$ .  Hence :  $\lfloor \sqrt{3}\cdot n \rfloor = \begin{cases}  n, &amp; \text{if } 0 \leq \sqrt{3}-1 &lt; \frac{1}{n} \\  n +1, &amp; \text{if } \frac{1}{n} \leq \sqrt{3}-1 &lt; \frac{2}{n} \\  n +2, &amp; \text{if } \frac{2}{n} \leq \sqrt{3}-1 &lt; \frac{3}{n} \\  \vdots \\  2n-1, &amp; \text{if } \frac{n-1}{n} \leq \sqrt{3}-1 &lt; 1 \\ \end{cases}$  How can I proceed from here ? Improving "demonstrate a minimal understanding" close reason Sometimes I want to underline some text, and it extends past the end of a line.  Why does \underline{} not automatically wrap my text for me ?    Also, how can I underline text so that it will still wrap ? Different font color for question status => closed <= When I stared at  () and I even thought [question refined] as offical status of the post.    &lt;somebody  it now, So, I've edited this question to get same effect>  How about official status [closed] as   different font color or  different font size or put the text [closed] outside the question link   Or   put a special tag as suggested in the    to clarify from those? I'm playing on a Survival world with cheats on, "easy" difficulty, and at night in-game. I didn't have a sword or anything to make a sword with, and I was starving, so I switched to Creative to give myself a stack of food and a bed to set my spawn point. When I switched back to Survival, I couldn't destroy or place blocks. I'm on single player, and my Internet is fine, and I can destroy blocks still if I switch to creative. I've tried resetting the button one, and reloading the map, and it still doesn't work. I've even tried deleting everything I gave myself in Creative. This happened before on a different world and I ended up deleting it.  This only happens on this world. How do I fix it?  If I know I'm in the correct game mode, what else can cause this?  Are there different causes in multiplayer? Do null and alternative hypotheses have to be exhaustive or not? I saw a lot of times claims that they have to be exhaustive (the examples in such books were always set in such way, that they were indeed), on the other hand I also saw a lot of times books stating they should be exclusive (for example $\mathrm{H}_{0}$ as $\mu_1=\mu_2$ and $\mathrm{H}_{1}$ as $\mu_1&gt;\mu_2$) without clarifying the exhaustive issue. Only before typing in this question I found somewhat stronger statement on the  -- "The alternative need not be the logical negation of the null hypothesis".  Could someone more experienced explain which is true, and I would be grateful for shedding some light on the (historical?) reasons for such difference (the books were written by statisticians after all, i.e. scientists, not philosophers). Showing there is no ring whose additive group is isomorphic to $\mathbb{Q}/\mathbb{Z}$ What do the words 'RELATED' and 'ESTABLISHED' individually signify in RELATED,ESTABLISHED state in iptables? Print box drawing characters with pdfLaTeX I need to print some unicode characters (of box drawing family) in my document. I found this  that is very similar to mine but is valid only for XeLaTeX. There is a valid way to do this with pdfLaTeX or I have to use XeLaTeX instead? Radiation– white vs black house, hot or cool? In my book's thermodynamics chapter, it says that an      "object that radiates heat faster also absorbs heat faster. This means   that an object that is a more efficient radiator comes to equilibrium   with its environment more quickly. With this in mind, is it better to   paint your house black or white?"   I am confused which it would be. The book says white because      "in summer, you house is cooler than the environment and white   reflects away the heat. In winter your house is warmer than the   environment and white radiates away the heat" I am asked to determine if a series converges or not:  $$\displaystyle\sum\limits_{n=1}^{\infty} \frac{(2^n)n!}{(n^n)}$$  So I'm using the $n$th root test and came up with $\lim_{n \to {\infty}}\frac{2}{n}\times(\sqrt[n]{n!})$ I know that the limit of $\frac{2}{n}$ goes to $0$ when $n$ goes to infinity but what about the $(\sqrt[n]{n!})$? CPU time out limit was being hit while processing child records on the inline opportunity visualforce page, to handle this i wrote a remoteActionFunction on the page that invokes controller method that's taking long to process and when i get CPU LIMIT exception in the result, i am invoking javascript call back function that invokes a action function which handles the same code asynchronously(@future).  Question: by setting the timeout (Visualforce.remoting.timeout = 120000;) can't we overcome CPU TIME out limit of 10,000 ms. Recommendations for Numerical Analysis texts? Call blocking for iPhone? How do I block unwanted callers without jailbreaking? Light fixture with a switch that has an outlet I hope this explains it better: in this room there is a switch with one set of wires and only the black one went through the hole in it, and another black one in the other hole, and is hooked to the outlet by being wrapped around the screw terminals. The ground is cut short and not grounded.  Now on to the outlet: the wire from the switch is connected to the top screw - but it's on the side that says "white".   There are two more sets of wires that connect to the outlet as follows:   the two black ones are on the the other screw terminal on the bottom (one on the "white" side)  the grounds are grounded to the screw terminal below that  the white ones are connected by the one from the switch to the bottom (black side), with one of the white ones from the other set on the screw terminal, and the one from the other cable is on the top screw terminal on the "white" side.   Now to the light: there are the black and white that come out of the box, and that is the set that has the ground cut short.  The original light fixture was a single 660w/250v rated socket.  The one my friend put up was a fixture with two 660w /250v sockets.  At the light only black and white connected, not ground... It worked then made noise and this is where I'm at.  When I wire test them, the black one from the switch and the white ones from either sets nothing...  but all the other ones light up.....! How to make listings code indentation remain unchanged when copied from PDF? So I am using  package for code examples. But there is a problem. When I copy the code examples from the final PDF document, they are usually not the same - the indentation is gone, there are random spaces after parenthesis, etc. Does anyone know how to make sure that the code that I copy from the final document is the same as I wrote it in the LaTeX document?  Here is what I mean. Compile this document:  \documentclass[12pt,oneside]{memoir}  \usepackage{listings} \usepackage[T1]{fontenc} \usepackage{xcolor} \usepackage{textcomp}  \definecolor{codebg}{HTML}{EEEEEE} \definecolor{codeframe}{HTML}{CCCCCC}  \lstset{language=Awk} \lstset{backgroundcolor=\color{codebg}} \lstset{frame=single} \lstset{framesep=10pt} \lstset{rulecolor=\color{codeframe}} \lstset{upquote=true} \lstset{basicstyle=\ttfamily} \lstset{showstringspaces=false}  \begin{document}  This code example prints out all users on your system:  \begin{lstlisting}[language=c] #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;string.h&gt;  #define MAX_LINE_LEN 1024  int main() {     char line[MAX_LINE_LEN];     FILE *in = fopen("/etc/passwd", "r");     if (!in) exit(EXIT_FAILURE);      while (fgets(line, MAX_LINE_LEN, in) != NULL) {         char *sep = strchr(line, ':');         if (!sep) exit(EXIT_FAILURE);         *sep = '\0';         printf("%s\n", line);     }     fclose(in);     return EXIT_SUCCESS; } \end{lstlisting}  \end{document}   Now compile it, open it, select and copy the code example and paste it in a text editor. Here is the result I get:  # include &lt;stdio .h&gt; # include &lt;stdlib .h&gt; # include &lt;string .h&gt; # define MAX_LINE_LEN 1024 int main () { char line [ MAX_LINE_LEN ]; FILE *in = fopen ("/ etc / passwd ", "r"); if (! in) exit ( EXIT_FAILURE ); while ( fgets (line , MAX_LINE_LEN , in) != NULL ) { char * sep = strchr (line , ':'); if (! sep ) exit ( EXIT_FAILURE ); * sep = '\0 '; printf ("%s\n", line ); } fclose (in ); return EXIT_SUCCESS ; }   Jeez! What's this... The indentation is gone. There are spaces in included headers &lt;stdio .h&gt;, there are spaces after parenthesis [ MAX_LINE_LEN ].  Anyone knows how to fix this? I'd like the code examples in my book to be copy/paste-able into a text editor so people can try them out easily. Implementing support for nested transactions using JDBC 3.0 our legacy application uses JDBC 3.0. it supports transactions by implementing its own transaction manager that is capable of returning the same JDBC connection for each thread. The problem I recently discovered is that it doesn't support nested transactions: if a transaction is started inside an another transaction, then every SQLs running in the context of the inner transaction will be executed using the same db connection, and when it's commited or rolled back it will automatically commit or roll back all the changes starting from the outer transaction.  As far as I understand I can implement the support for nested transaction using JDBC 3.0 savepoints: whenever a nested transaction is started, I can set a new savepoint for the current connection. Afterward, if the nested transaction is rolled back, I will just rollback to this savepoint. If, on the other hand, it is commited, I will just do nothing. Only the commit of the most outer transaction will save the changes to the db.  Is this correct? Does this approach have any flaws? If yes, what are my possibilities?  Thanks. How to change the name of document elements like "Figure", "Contents", "Bibliography", "Appendix", etc.? Single-word synonym for "immensely valuable"? I am looking for some (may be rarely know to nonnative English speakers) synonyms for  "immensely valuable" or "extremely valuable". If I enter my password correct first time, I login as normal.  If I enter my password wrong, it says invalid password. If I attempt to enter the correct password now then the screen freezes and doesn't go to dock as normal. I must restart using a physical button or shutdown to get out. Login works normally after restart, assuming I get it right first time.  EDIT:  After entering a wrong password, if I click cancel and then go back to my user to login, it works fine.