I think Python is the way to go for cross platform scripting.<br>It installs to C:\python<br>if you want to run commands on windows or linux use<br>import os<br><br><br>you can then assign that to anything you want like <br>
<br>doStuff = os.system('dir /a')<br>or a linux example <br>os.system('ls -la')<br>total 7477440<br>drwx------. 55 ron ron 4096 Mar 21 11:53 .<br>drwxr-xr-x. 4 root root 4096 Mar 2 23:24 ..<br>
drwx------. 2 ron ron 4096 Mar 9 01:38 .AbiSuite<br>drwx------. 4 ron ron 4096 Mar 4 00:10 .adobe<br>drwxrwxr-x. 4 ron ron 4096 Mar 20 13:38 Aptana Studio Workspace<br>-rw-rw-r--. 1 ron ron 743 Mar 5 23:49 aray1<br>
-rw-rw-r--. 1 ron ron 611 Mar 5 23:47 aray1~<br>-rw-------. 1 ron ron 2114 Mar 20 21:41 .bash_history<br>-rw-r--r--. 1 ron ron 18 Jun 22 2010 .bash_logout<br>-rw-r--r--. 1 ron ron 176 Jun 22 2010 .bash_profile<br>
-rw-r--r--. 1 ron ron 124 Jun 22 2010 .bashrc<br>drwxr-xr-x. 3 ron ron 4096 Mar 20 21:41 .bluefish<br>drwx------. 6 ron ron 4096 Mar 8 10:03 .cache<br>drwxrwxr-x. 2 ron ron 4096 Mar 10 13:56 code<br>
drwxr-xr-x. 18 ron ron 4096 Mar 11 00:51 .config<br>-rw-rw-r--. 1 ron ron 12 Mar 20 19:42 data.txt<br>drwx------. 3 ron ron 4096 Mar 2 23:24 .dbus<br>drwxrwxr-x. 4 ron ron 4096 Mar 11 00:57 .designer<br>
drwxr-xr-x. 2 ron ron 4096 Mar 21 11:52 Desktop<br>drwxr-xr-x. 8 ron ron 4096 Mar 10 22:25 Django-1.2.5<br>-rw-rw-r--. 1 ron ron 6379313 Mar 10 22:21 Django-1.2.5.tar<br><br>mylist = os.system('ls -la')<br>
then mylist is the os.system command <br><br>Operating systems are trivial sets of commands to be run.<br><br><br>I would get off my horse about python, except ,instead of horses, we have squires who bang coconuts together.<br>
<br><br><br><br>