SOLVED : Looking for a tool to use Wake-On-Lan...

Hi,
I’m looking for a Wake-On-Lan tool that can work with TheDude.
I’m using Wolcmd but it doesn’t accept a MAC address with : in it (only xxxxxxxxxxxx and not xx:xx:xx:xx:xx:xx)
I’ve tried mc-wol but it doesn’t work for me

Does anyone know a good command line tool that can work please or a way to remove the : in the mac address before passing it to Wolcmd ?
Thanks

Try running wolcmd via batch file (i.e. wol.bat) with code below

@echo off

set MAC=%1
set MAC=%MAC::=%

wolcmd %MAC% %2 %3 %4

Regards

Thanks a lot,
Works well if I type it in a DOS box but doesn’t work from TheDude.
Here’s the command line I have created :
C:\Softs\wol\wol.bat [Device.FirstMacAddress] [Device.FirstAddress] 255.255.248.0

But it doesn’t seem to work when started from TheDude.
Any idea ?
Thanks

EDIT : Found the problem :
It doesn’t accept the [Device.FirstMacAddress] variable
Using the [Device.MacAddressesColumn] variable works… :smiley: :smiley: :slight_smile: :smiley: :laughing: :sunglasses:
That’s really great.
Thanks a lot for your help

Are you using full path to the wolcmd program in .bat file?

I have also added the full path to the wolcmd program in the batch but it’s the [Device.MacAddressesColumn] variable that did the trick :slight_smile:
Thanks for your help

I don’t excatly understand that wol.bat file, can you please give an example. I’d like to ping address 10.2.100.2 for example, mac od the interface I’d like to ping is: 00:0C:42:14:1B:0F.
I’m not sure about the sintax, can you please show me the command.

Thank you!:wink: