New
#1
Batch Scripts
I am trying to run/create a batch script for the users on my domain to install a program that will download and update flash and java. I have the .exe stored on the network share and currently have most of the script written. The part where i need help is to have to .exe run as one of our network administrators. Below is the code I have, where/how do I tell it to run as domain.local\networkadmin plus the account's password.
@echo off
cd C:\
mkdir CCFlash
copy \\toohey\CareCloud\CCFlash.exe C:\CCFlash
START C:\CCFlash\CCFlash.exe /silent S:\IT\CCFlashReports\reports.txt /repair
All help is appreciated.
EDIT: This script will run on XP Pro and Windows 7 Pro machines. 32 and 64 bit.
Last edited by arukaen; 27 Oct 2011 at 09:45.