Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

VBS Wake on LAN from txt file

Avatar of cyberiadmin
cyberiadmin asked on
.NET ProgrammingMicrosoft DevelopmentVB Script
11 Comments1 Solution1880 ViewsLast Modified:
Hello,

I have got a txt file with all the mac address i would like to send the wake on lan packet to. How would i get a vb script to exec wol.exe mac address with the right formatting?

The txt file has the information in this format.
00:00:00:00:00:00

While the wol.exe needs the mac address without the ":". Example is;
000000000000

Then the script should exec "wol.exe 000000000000" for each mac address. Also, its one mac address per line. I would like the mac address txt file left alone and the removing of the ":" done live, when the script runs. Not editing the mac address txt file at all.
ASKER CERTIFIED SOLUTION
Avatar of rockiroads
Commented:
This problem has been solved!
Unlock 1 Answer and 11 Comments.
See Answers