title: Single script to run in both Windows batch and Linux Bash?
body: <p>Is it possible to write a single script file which executes in both Windows (treated as .bat) and Linux (via Bash)?</p>
  
  <p>I know the basic syntax of both, but didn't figure out. It could probably exploit some Bash's obscure syntax or some Windows batch processor glitch.</p>
  
  <p>The command to execute may be just a single line to execute other script.</p>
  
  <p>The motivation is to have just a single application boot command for both Windows and Linux.</p>
  
  <p><strong>Update:</strong> The need for system's "native" shell script is that it needs to pick the right interpreter version, conform to certain well-known environment variables etc. Installing additional environments like CygWin is not preferable - I'd like to keep the concept "download &amp; run".</p>
  
  <p>The only other language to consider for Windows is Windows Scripting Host - WSH, which is preset by default since 98.</p>