WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: geauga on February 15, 2019, 07:03:04 AM

Title: Using RunWithLogon with Other Winbatch Commands
Post by: geauga on February 15, 2019, 07:03:04 AM
I am trying to create a System DSN but am erroring due to it needing privs to load.  Does anybody know whether you can embed a winbatch command in a RunWithLogon command or have suggestions of how to run a command with elevated privs other than RunWithLogi?
Title: Re: Using RunWithLogon with Other Winbatch Commands
Post by: td on February 15, 2019, 07:30:52 AM
You need to provide more information.  For example,


The RunWithLogon function is used both for executing other applications and other WinBatch scripts.  Its basic usage is covered in the Consolidated WIL Help file and does not need to be repeated here.