Author Topic: Computername within Rules  (Read 128 times)

0 Members and 1 Guest are viewing this topic.

Offline Yeti

  • Jr. Member
  • **
  • Posts: 25
    • View Profile
Computername within Rules
« on: December 09, 2020, 01:17:15 pm »
Hi,

I'm using the rules to get a notification when something seems to be wrong with my tasks.

The Rule is independent from the computers (I use 8 computers) but when I run a batch, I would like to give the name of the computer as parameter to the batch.

Batch-calling can handover a parameter, but what would be the correkt value for the Computer(name) ?

x:\Batch.bat, Computer ? ? ? ? ?

Online fred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3527
  • eFMer
    • View Profile
    • Trails
Re: Computername within Rules
« Reply #1 on: December 09, 2020, 05:19:31 pm »
x:\Batch.bat, Computer ? ? ? ? ?
The parameter is just a string it's up to the other end to do something.
A string can be par1,par2,par3

If you want to rules for specific computers you probably have to make duplicate rules.
One with a parameter computer1,etc and one with computer2, etc