Category: windows scripting host
The FileSystemObject provides a GetTempName method that returns a temporary file name. The following is the short example, in VBScript on Windows Scripting Host. ' Auto-Generate a File Name Set objFSO …
April 17, 2013
batch script, beginner, code, implementation, programming languages, tricks, VBA, vbscript, windows, windows command shell, windows scripting host
Windows is full of COM (Component Object Model), and many software (such as Microsoft Office) provides the COM automation object, that can be easily programmed. The following shows an …
Scripting.FileSystemObject is a powerful utility, that is often used in Scripting languages. In , the Scripting.FileSystemObject is used to verify if a folder exists. It can be also used …
The Dictionary is an important data-structure and is a very handy tool to store a collection of key-value pairs. The Dictionary object can be created easily using Scripting language …
The following script snippet is handy at checking whether a folder exists or not at Window Script Hosting Environment using VBScript. Set objFSO = CreateObject("Scripting.FileSystemObject") If objFSO.FolderExists("C:\FSO") Then Set …