<div dir="ltr"><div><font face="courier new, monospace">I had this exact problem. I found two solutions that I liked:</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Batch Files</font></div>


<div><font face="courier new, monospace">-----------</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Use batch file scripts! A batch file is, after all, just a terminal command that you run by double clicking it. </font><span style="font-family:'courier new',monospace">My co-workers liked this method a lot better than opening a new command prompt, navigating to where they wanted to work, and then running the ipython notebook command.</span></div>


<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">To make a batch file script that opens an ipython notebook in whatever directory it's run from:</font></div><div><font face="courier new, monospace"><br>


</font></div><div><font face="courier new, monospace">1. Create a simple .txt file: Right Click -> New ->  Text Document</font></div><div><font face="courier new, monospace">2. Re-name it "Start IPython Notebook Here.bat" (don't forget to change the extension!)</font></div>


<div><font face="courier new, monospace">3. Open it with notepad: Right Click on it -> Edit</font></div><div><font face="courier new, monospace">4. Add the text "ipython notebook" to the file -- it should look just like you would type it in a command prompt.</font></div>


<div><font face="courier new, monospace">5. Save & close.</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Now when you double click on the .bat file, a notebook server will spawn in that directory. You can move the .bat file to wherever you want your IPython notebook's working directory to be. You can make copies of the .bat file, and stash one in all the directories you frequently use. You can give a copy of the file to people that you're training, and they can just double-click and go. No need to teach them the command prompt. </font></div>


<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Registry Keys</font></div><div><font face="courier new, monospace">-------------</font></div>


<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">I work with the IPython notebooks daily in different directories all over my filesystem, so I got tired of copying the .bat script to every directory I worked in. I added an option to start a notebook in a directory to my right-click context menu by adding a few registry keys. </font></div>


<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">This option is good for anyone who uses IPython frequently, doesn't mind an extra option in their right-click menu, and is comfortable editing their windows registry.</font></div>


<div><font face="courier new, monospace"><br></font></div><div><span style="font-family:'courier new',monospace">You should be able to create a text document, copy in the text above, change the extension to .reg, and then run it(just once) to add the context menu entry. Put the following 5 lines in the file:</span><br>

</div><div><span style="font-family:'courier new',monospace"><br></span></div><div class="gmail_extra"><font face="courier new, monospace"><br></font></div><div class="gmail_extra"><div><span style="font-family:'courier new',monospace">Windows Registry Editor Version 5.00</span><br>

</div><div><div><span style="font-family:'courier new',monospace"><br></span></div><div><span style="font-family:'courier new',monospace">[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\ipynb]</span><br>

</div><div><font face="courier new, monospace">@="Open IPython Notebook"</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\ipynb\command]</font></div>

<div><font face="courier new, monospace">@="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe ipython notebook"</font></div></div></div><div class="gmail_extra"><font face="courier new, monospace"><br>

</font></div><div class="gmail_extra"><font face="courier new, monospace"><br></font></div><div class="gmail_extra"><span style="font-family:'courier new',monospace">Once the registry key has been added, whenever you right-click in a folder (or on your desktop) you'll have the option to "Open IPython Notebook". Selecting that option will spawn a powershell instance, and call "ipython notebook" as if you'd typed it on the command line -- just like the batch file method, but without the extra file in the directory.</span><font face="courier new, monospace"><br>

</font></div>
<div class="gmail_extra"><font face="courier new, monospace"><br></font></div><div class="gmail_extra"><font face="courier new, monospace">Note: if you ever want to remove the registry keys, you'll have to open up regedit.exe and delete them manually. Some users might become frustrated with the extra option if they rarely use the notebook, and they might have trouble getting rid of it, so I wouldn't offer this option unless you know they will use it all the time.</font></div>


<div class="gmail_extra"><font face="courier new, monospace"><br></font></div><div class="gmail_extra"><font face="courier new, monospace">Another Note: Neither of these methods starts the notebook with the "--pylab inline" flag. You can get similar functionality with the "%pylab" or "%matplotlib inline" magics.</font></div>


<div class="gmail_extra"><br></div><div class="gmail_extra"><font face="courier new, monospace">Let me know if you have any questions. I'll do what I can to answer.</font></div>
<div class="gmail_extra"><font face="courier new, monospace"><br></font></div><div class="gmail_extra"><font face="courier new, monospace">-Matt</font></div><div class="gmail_extra"><font face="courier new, monospace"><br>


<br></font><div class="gmail_quote"><font face="courier new, monospace">On Sun, Feb 23, 2014 at 3:09 PM, Jason Moore <span dir="ltr"><<a href="mailto:moorepants@gmail.com" target="_blank">moorepants@gmail.com</a>></span> wrote:<br>


</font><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><font face="courier new, monospace">Thanks, I already have asked the Anaconda mailing list too. Just haven't gotten a response yet.<br>


<br></font></div><font face="courier new, monospace">Maybe I should just include the Windows shortcut in the directory full of notebooks. That would work.<br>

</font><div><div class="gmail_extra"><font face="courier new, monospace"><br clear="all"></font><div><div dir="ltr"><font face="courier new, monospace"><br>Jason<br><a href="http://moorepants.info" target="_blank">moorepants.info</a><br>



<span>+01 <a href="tel:530-601-9791" value="+15306019791" target="_blank">530-601-9791</a></span><br></font></div></div><div><div>
<font face="courier new, monospace"><br><br></font><div class="gmail_quote"><font face="courier new, monospace">On Sun, Feb 23, 2014 at 6:06 PM, Aron Ahmadia <span dir="ltr"><<a href="mailto:aron@ahmadia.net" target="_blank">aron@ahmadia.net</a>></span> wrote:<br>


</font><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<div dir="ltr"><font face="courier new, monospace">It might be better to direct this question to the Anaconda mailing list (cc'd).</font><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">You could distribute a shortcut for them that does the right thing when you're packaging your repository.  If you come up with something better or that works for you, please add it to the Software Carpentry "configuration problems" Wiki <a href="https://github.com/swcarpentry/bc/wiki/Configuration-Problems-and-Solutions" target="_blank">https://github.com/swcarpentry/bc/wiki/Configuration-Problems-and-Solutions</a></font></div>






<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Right now Software Carpentry instructors usually get around this by teaching the command line *before* Git :)</font></div>


<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">A</font></div></div><div class="gmail_extra"><font face="courier new, monospace"><br><br></font><div class="gmail_quote">




<div><div><font face="courier new, monospace">
On Sun, Feb 23, 2014 at 6:00 PM, Jason Moore <span dir="ltr"><<a href="mailto:moorepants@gmail.com" target="_blank">moorepants@gmail.com</a>></span> wrote:<br></font></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">





<div><div>
<div dir="ltr"><div><font face="courier new, monospace">The IPython Notebook shortcut installed by Anaconda defaults to opening 
in the "IPython Notebooks" directory. Is there an easier (point and 
click?) method to opening the server in another directory besides (1) 
open a CMD prompt and cd'ing to the directory or (2) changing the "start
 in" properties of the shortcut?<br><br></font></div><font face="courier new, monospace">I'm giving a tutorial to command line novices and was hoping for something very simple for them to open up the notebook server in the correct directory.<br>


</font><div><div>





<div dir="ltr"><font face="courier new, monospace"><br>Jason<br><a href="http://moorepants.info" target="_blank">moorepants.info</a><br><span>+01 <a href="tel:530-601-9791" value="+15306019791" target="_blank">530-601-9791</a></span><br>


</font></div></div>
</div></div>
<font face="courier new, monospace"><br></font></div></div><font face="courier new, monospace">_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org" target="_blank">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></font></blockquote></div><font face="courier new, monospace"><br></font></div>
<font face="courier new, monospace"><br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org" target="_blank">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></font></blockquote></div><font face="courier new, monospace"><br></font></div></div></div></div></div>
<font face="courier new, monospace"><br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org" target="_blank">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br></font></blockquote></div></div></div>