I didn't see any documentation around the "Create Batch File" feature. Once I create it, where is it stored? How do I actually run the batch against the device? What's different about this vs using the built-in scripting?
Also, would you consider creating a simple remote execution utility for managing groups of machines? I think you have most of the underpinnings already from Network Scanner. It would be great if this could support both Windows and Linux.
SoftPerfect Network Scanner
How to create and use Batch Files
Started by Sean
Sean
How to create and use Batch Files 13 March 2025, 13:28 |
|
Re: How to create and use Batch Files 13 March 2025, 13:39 |
Admin Registered: 11 years ago Posts: 1 015 |
Here is a detailed response addressing each point:
Batch file location
When you create a batch file, you choose where to save it. There is no fixed location enforced by the application.
Batch file execution
The batch file is typically executed from the admin workstation. You can run it from a Command Prompt (cmd.exe) or simply double-click the .bat file.
For example, a batch file like this will copy files to the specified devices over the network using standard file-sharing permissions:
Difference between batch files and the built-in scripting
Batch Files execute actions from the admin workstation, such as copying files, running scripts, or applying configurations on remote machines.
Built-in Scripting (VBScript) runs inside the application and is intended for retrieving information from scanned devices. It does not usually make modifications.
Remote Execution Utility
Your suggestion for a remote execution tool is interesting, however the Network Scanner already supports launching third-party applications, including:
Batch file location
When you create a batch file, you choose where to save it. There is no fixed location enforced by the application.
Batch file execution
The batch file is typically executed from the admin workstation. You can run it from a Command Prompt (cmd.exe) or simply double-click the .bat file.
For example, a batch file like this will copy files to the specified devices over the network using standard file-sharing permissions:
xcopy C:\Source\*.* \\192.168.0.1\C$\Destination xcopy C:\Source\*.* \\192.168.0.2\C$\Destination xcopy C:\Source\*.* \\192.168.0.3\C$\Destination
Difference between batch files and the built-in scripting
Batch Files execute actions from the admin workstation, such as copying files, running scripts, or applying configurations on remote machines.
Built-in Scripting (VBScript) runs inside the application and is intended for retrieving information from scanned devices. It does not usually make modifications.
Remote Execution Utility
Your suggestion for a remote execution tool is interesting, however the Network Scanner already supports launching third-party applications, including:
- PsExec - for running commands on Windows machines.
- SSH - for executing commands on Linux/Unix devices.

