WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Please Help! (Read 2312 times)
ncmurf00
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Please Help!
Jan 11th, 2005 at 11:39pm
 
I'm about at my wits end, through only my doing.
I'm trying to make a simple evaluation, but I have tried almost every variation and cruised the forum.
I am now humble and ask you to help.
I have the "net send" statement in there to verify my %FIRST5% is picking up the correct data, which it is.
I have no clue why it won't go to the DoIt portion.

SET FIRST5=%WD_FILE_B:~0,5%

net send is_jmurphy %FIRST5%
IF /i "%FIRST5%" EQU "bdtoa" GOTO :DoIt
IF /i "%FIRST5%" EQU "sfsad" GOTO :DoIt
GOTO :EOF

:DoIt


Any help is greatly appreciated.

[edited to remove the smiley-labels]
Back to top
« Last Edit: Jan 12th, 2005 at 5:29am by Gert »  
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2238
The Netherlands
Re: Please Help!
Reply #1 - Jan 12th, 2005 at 5:41am
 
Hi,

What you do, seems to be OK.
Can you open a command prompt and enter the following commands:
Code:
SET TEST=1234567
SET SUB=%TEST:~0,5%
ECHO %SUB%
 



That should display 12345 on your console. If the above doesn't work, my guess is that command extensions are not enabled on your computer.

Can you enter this command:
Code:
echo %CMDEXTVERSION%
 


That should display 2 (or 1). If it just displays %CMDEXTVERSION%, then extensions are not enabled.
See, for example, here http://www.google.com/url?sa=U&start=1&q=http://www.windowsnetworking.com/kbase/...
how to enable them.

Hope this helps,
Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1