Posts

Showing posts from March, 2018
Purge Printers from Windows 7 VBS ''''''''''Execute subs CheckArgs CleanupPrinters dim SleepTime ''globals for sleep time in Milliseconds dim quiet ''globals for no dialog dim Msg ''Message string '''''''''''----------------------------------------------------- sub CheckArgs () ''push args into array ReDim args ( WScript.Arguments.Count - 1 ) For i = 0 To WScript.Arguments.Count - 1 args ( i ) = WScript.Arguments ( i ) & "" Next For argCt = 0 to ubound ( args ) if lcase ( trim ( args ( argCt ))) = "\sleep" then argCt = argCt + 1 SleepTime = int ( args ( argCt )) msg = msg & vbCr & "\sleep=" & int ( SleepTime ) end if if lcase ( trim ( args (

Front loading link names for future redirects

If we create dated front loaded link names for web pages and Google search we can use those links as received by the server in a request to forward the links to correct pages. A more complex process would snapshot pages with a GUID and their links and manage the connectivity for redirects to the corrected content or archive of the pages.