Posts

Showing posts with the label windows batch programming

Determine Which version of Windows Installer is installed

To determine which version of Windows Installer is installed on a computer, follow these steps: 1) Click Start, click Run, type %systemroot%\system32, and then click. OK. 2) Right-click Msi.dll, and then click. Properties. 3) Click the Version tab, and then note the File version number.

create and share a folder with .bat file

Simple .bat file to create a folder and share that folder with full permission and give access to Everyone. Just put below four lines of code into any textpad save a .bat file. Md E:\ MyFolder Net Share MyShare =E:\ MyFolder Cacls E:\ MyFolder /e /r Everyone Cacls E:\ MyFolder /e /g Everyone:C