Toggen Blog

Tech tips

Articles

Latest

Access

Blog History

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...

Apple.com Trailers ChromeOS Crouton/Ubuntu 13.04

I have a HP Chromebook but wanted to watch apple.com trailers and it comes up with the "Get QuickTime" splash in Google Chrome. Note: The following fix is not to get Apple.com trailers working in the Chromebooks ChromeOS Google Chrome browser but inside a crouton...