title: CS-Script - How Can I Run a '.cs' File Like A Standard Windows Executable?
body: <p>I have recently installed <a href="http://www.csscript.net/" rel="noreferrer">CS-Script</a>, a <strong>scripting system for C#</strong> (as well as VB.NET, C++/CLI and J#).</p>
  
  <p><strong>CS-Script</strong> allows you to write a program in standard C# syntax (or in other languages supported by CS-Script) and run it without first compiling it to an executable! In this way, CS-Script offers the benefits of Windows Script Host (WSH) and other scripting frameworks and languages.</p>
  
  <p>By default, when you double-click a <strong>.cs</strong> file, CS-Script is configured to to open it with Notepad. Instead, I actually wanted to change this so that double-clicking the <strong>.cs</strong> file would <em>run</em> the script. I was able to make this change by running the CS-Script configuration program <strong>css_config.exe</strong>, and under <strong>Open (double-click action)</strong>, selecting <strong>&lt;Run&gt;</strong>. </p>
  
  <p><strong>Now, a question:</strong> There is one more thing I want to do--I'd like to be able to put a <strong>.cs</strong> file somewhere in my <strong>system path</strong> and run it like any other standard Windows executable. (For example, <strong>.exe</strong>, <strong>.bat</strong> and <strong>.cmd</strong> files.) Is this is possible?</p>