- FSUtils – useful for a lot of things. In my case for creating hardlinks.
- ChkNTFS c: – use to obtain the type of file system the disk is using. (doesn’t work on network drives)
Monthly Archives: April 2011
TIL: iCacls & Reg.exe
Haven’t needed to mess with iCacls in the past. Needed to use it today though but the command line help doesn’t quite explain everything.. In particular I didn’t know what (OI) (CI) and (IO) meant.
Answer:
On a different note, I can’t believe I didn’t know it was possible to query the registry from the command line! Head to your nearest Windows command line and run Reg.exe query /? for more information (or just reg.exe /? for adding/removing/etc).
TIL: About a neat Windows tweak
… about an awesome tweak I never knew I needed until I saw it:
Show Drive Letters Before the Drive Name in Windows Explorer
VBScript
From all the NSIS posts I made you’d think that was my main job. Not the case. But I think I was starting to like it.
I was pulled installer work to do more routine stuff so I haven’t had too many “Today I learned …” opportunities. Today I’m working some VBScript for some odd jobs. It’s one of those silly languages that I relearn and forget as need arises. Going to use this entry as a cheat-sheet to accelerate the relearning phase when I next need to.
- VBScript Sub Return Values
Sub MyFunc()
MyFunc = “retval”
Sub End - Useful Objects:
- WSH Object Reference: http://goo.gl/XwvV5
- Set oFSO = CreateObject(“Scripting.FileSystemObject”)
- Set oShell = WScript.CreateObject (“WScript.Shell”)
- Set oRegEx = New RegExp
- Set oDictionary = CreateObject(“Scripting.Dictionary”)
- Misc
- WScript.Echo now