Need help with a cmd command

  • Thread starter Thread starter Jim
  • Start date Start date
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
 
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.
 
Back
Top