Need help with a cmd command

J

Jim

If I go directly to dos cmd line and type in the following Wake On LAN
command, it will wake up my remote PC:
wolcmd 00142a0daed9 192.168.1.103 255.255.255.0 7

However the MS-DOS batch command I created below does not work. It keeps
telling me wolcmd is not recognized. Appreciate any suggestions..

@ECHO OFF
ECHO.
ECHO This is a batch file
ECHO.
wolcmd 01142a0daed9 192.168.1.113 255.255.255.0 7
pause
CLS
EXIT
 
B

Big Al

Jim said:
If I go directly to dos cmd line and type in the following Wake On LAN
command, it will wake up my remote PC:
wolcmd 00142a0daed9 192.168.1.103 255.255.255.0 7

However the MS-DOS batch command I created below does not work. It keeps
telling me wolcmd is not recognized. Appreciate any suggestions..

@ECHO OFF
ECHO.
ECHO This is a batch file
ECHO.
wolcmd 01142a0daed9 192.168.1.113 255.255.255.0 7
pause
CLS
EXIT
Path the wolcmd command. Don't expect windows to know everything.
C:\windows\xxx\xxx\xxx\wolcmd
and put it in quotes if here are spaces in the path.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top