here's some vbscript code to get you started.
' 1) create directory with random number
Randomize
numRandom = Int((65535 * Rnd) + 1)
WScript.Echo numRandom
Set objFSO=CreateObject("Scripting.FileSystemObject")
objFSO.CreateFolder("C:\temp\" & numRandom) 'create directory
'2) rot13 encrypt
strInput = "testing"
n = 13
For i = 1 To Len(strInput)
strConverted = Chr(Asc(Mid(strInput, i, 1)) + n)
WScript.StdOut.Write(strConverted)
Next
'2) rot13 decrypt
strInput = "testing"
n = 13
For i = 1 To Len(strInput)
strConverted = Chr(Asc(Mid(strInput, i, 1)) - n)
WScript.StdOut.Write(strConverted)
Next
WScript.Echo
' 3) find words between 2 words
strTest = "txt1 tex2 txt2"
indexFirstWord = InStr(1,strTest,"txt1")
WScript.Echo indexFirstWord
indexSecondWord = InStr(1,strTest,"txt2")
WScript.Echo indexSecondWord
indexstart = indexFirstWord + Len("txt1")
strWordBetween = Trim(Mid(strTest,indexstart,indexSecondWord - indexstart))
WScript.Echo strWordBetween