Scripting PSFTP and PLINK using VBS

Sample script of using PuTTYs psftp and plink to: login to a remote linux host using plink via ssh, run a find command to return a list of files in a directory tree, build a psftp batch script to grab and move the remote files login again using psftp and run the batch...

RegRead / RegWrite VBS

Thinking of storing settings in registry. Some sample code: set oshell = createobject("wscript.shell") apf = "HKEY_LOCAL_MACHINE\SOFTWARE\Settings" settings = Array("user", "domain", "password", "host") slug = apf & "\edi_transfer_" ' create APFoods key...

VBS Dictionary Object: The poor mans JSON

After spending a lot of time coding in jQuery and CakePHP. Which rely heavily on JSON and PHP Arrays respectively I have come to appreciate storing stuff in objects. Most of my at work Windows scripting stuff is done using VBS so I was searching for a way to store...

About the Author

James is an IT Professional based in Melbourne, Australia. He blogs about Information Technology, Open Source software, home renovations, good reads and travel.

Login

Blog History