Category: Scripting

Delete Windows share by script
article #172, updated 4032 days ago

Put the below in a VBS file and run it (from a batch file perhaps) with ‘wscript filename.vbs’.

' The name of the share.
strShareName = "SHARE"

' SERVERNAME has to be the hostname of the machine containing the sahre
Set objfServer = GetObject("WinNT://SERVERNAME/lanmanserver")
objfServer.Delete "Fileshare", strShareName
Set objfServer= Nothing

Categories:      

==============

Hidden Start – Run Console Applications & Batch Files without any Window in the Background
article #165, updated 4048 days ago

A great tool:

http://www.ntwind.com/software/utilities/hstart.html

Categories:      

==============

Example FTP batch (.CMD) script
article #153, updated 4103 days ago

A very good example is on this page:

http://ss64.com/nt/ftp.html

Categories:      

==============

A msgbox in a batch file
article #149, updated 4112 days ago

This works in .CMD files!  A nice little message box.

msg * Hello!!!!!!!!!!

Categories:      

==============

XPSP3 and Adobe Reader 9
article #139, updated 4141 days ago

Just learned this:  in scripted Web applications, there are sometimes incompatibilities between XPSP3 and Adobe Reader 9.  Sometimes both SP3 and Reader 9 have had to be rolled back to previous versions, sometimes just one of the two.

Categories: