border

[Technic] FW: sisfin

Scott Mayo sgmayo at mail.bloomfield.k12.mo.us
Fri Jul 27 14:52:08 CDT 2007


Scott Mayo wrote:
> Bill Niemeyer wrote:
> 
>>Hi Scott,
>>
>>Here is what I use in a batch file:
>>
>>@echo off
>>net use Y: \\fs7\sis
>>start C:\sisfin\siswin32\sisfin.exe 
>>cd c:\docu*\all*\desktop
>>del sis*software.lnk
>>exit
>>
> 
> 
> Bill,
>    You lost me here.  Is the above an Autoit script?  It looks more like 
> a regular windows script.  Where do you tell it to run sisfin.exe as the 
> administratro and how do you pass it a password?
> 
> Thanks.
> 


I must be doing something wrong.  From what I read, I should be able to 
write a script like the following:

RunAsSet("admin_user", @LogonDomain, "Password")
Run("C:\sisfin\siswin32\Sisfin.exe")

Shouldn't that run sisfin with the admin_user?  It starts up sisfin, but 
gives an error about not being able to find the printdrv.dat file on the 
network drive.  I can just go click on the sisfin.exe file while logged 
on as teh admin_user and it works fine.

Thanks for any info.

-- 
Scott Mayo
System Administrator
Bloomfield Schools
PH: 573-568-5669
FA: 573-568-4565
Pager: 800-264-2535 X2549

Duct tape is like the force, it has a light side and a dark side and it
holds the universe together.


More information about the Technic mailing list