A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Windows XP Help and Support
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Need help with a cmd command



 
 
Thread Tools Display Modes
  #1  
Old June 1st 08, 01:15 PM posted to microsoft.public.windowsxp.help_and_support
Jim
external usenet poster
 
Posts: 231
Default Need help with a cmd command

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



Ads
  #2  
Old June 1st 08, 01:32 PM posted to microsoft.public.windowsxp.help_and_support
Jim
external usenet poster
 
Posts: 231
Default Need help with a cmd command

I found the problem, I had the wrong path to wolcmd.


"Jim" wrote in message
...
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





  #3  
Old June 1st 08, 01:35 PM posted to microsoft.public.windowsxp.help_and_support
Big Al[_3_]
external usenet poster
 
Posts: 1,022
Default Need help with a cmd command

Jim wrote:
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.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 01:43 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.