Rebol Tutorial

Rebol Programming - Learn Rebol with Real-World Examples

Archives for Shell

13 Mar by admin in All, Automation, Backup, Beginner, FTP, Shell, Tools

Backup to FTP Server with this free script

Backup to FTP Server with this free script
There are many great FTP Client Freewares like Filezilla but uploading the same folders again and again is a pain in a hass. So this little Script is a real time-saver as it will allow you to automate your backup or upload to FTP Server. I didn't have to invent ...more»

How to create a Program Launcher (using Rebol Bind Function)

How to create a Program Launcher (using Rebol Bind Function)
I have a personal productivity problem as I have a bunch of programs all over the place on my Desktop or in my Program Files Menu. I tried many launchers freewares but none really satisfied me so I finally decided to use Rebol Shell as my launcher. It's also a ...more»
19 Dec by admin in All, Configuration, Console, Java, Setup, Shell, Syntax, Tools

How to read and parse your environment variables (System32, Java_Home, Classpath, Path…)

How to read and parse your environment variables (System32, Java_Home, Classpath, Path…)
Rebol has a native get-env function to read environment variables. For example, to test if your JAVA_HOME (JDK installation directory), CLASSPATH (for Java imports), CATALINA_HOME (for Tomcat) environment variables have been set, type in Rebol Console : get-env "JAVA_HOME" get-env "CLASSPATH" get-env "JRE_HOME" get-env "CATALINA_HOME" To parse your environment variable, just use parse/all ...more»
12 Sep by admin in All, Automation, Console, Shell, Syntax

How to pass arguments to a remote script through the do command

How to pass arguments to a remote script through the do command
We have seen how to pass Command Line arguments to a script through Rebol.exe in this article on Interfacing C# Client with Rebtweeter: in this case system/options/args will contain a block of Command Line arguments. In the case of the Do Command for Remote Code execution, we'll use the /args refinement ...more»