Forum Discussion
Matthias68
9 months agoOccasional Contributor
We have UAC turned off, but the security message still comes up when the batch file is opened normally on the network.
However, the following approach works for us:
We create a local batch file that directly calls the batch file located in the network.
The call is then made using the following sequence:
// 1. Change to the directory of the batch file on the network
WshShell.CurrentDirectory = comVariableStorage.getVariable("Dir");
// 2. Call the local batch file
WshShell.Run(fwConstants.BatchDir + "\\start_appl_xxx.bat");
Result: no security message appears anymore
Related Content
- 5 years ago
- 10 months ago
- 2 years ago