said:
>The Startup.CMD file: md r:\util
> md r:\cache
> D:\RELISH\STARTNOW
> D:\NUMLOCK\NUMLOCK
> exit
Cmd.exe is brain-dead. You need
call D:\NUMLOCK\NUMLOCK
>I found that the program could not see NUMLOCK.DLL if it was just in the
>same directory with NUMLOCK.CMD,
This is expected if the directory is not in LIBPATH. There are many ways
to resolve this. One way
/* NumLock.cmd */
call setlocal
parse source . . cmd
c = lastpos('\', cmd)
dir = left(cmdName, c - 1) /* Chop name befor \ */
call directory dir
CALL RxFuncAdd "NumLock","NumLock","NumLock"
If NumLock()=0 THEN SAY 'NumLock activated.'
EXIT
another
/* NumLock.cmd */
call setlocal
parse source . . cmd
c = lastpos('\', cmd)
dir = left(cmdName, c - 1) /* Chop name befor \ */
'set beginlibpath='dir
CALL RxFuncAdd "NumLock","NumLock","NumLock"
If NumLock()=0 THEN SAY 'NumLock activated.'
EXIT
Regards,
Steven
--
----------------------------------------------------------------------
"Steven Levine" MR2/ICE 2.67 #10183 Warp/eCS/DIY/14.103a_W4
www.scoug.com irc.fyrelizard.com #scoug (Wed 7pm PST)
----------------------------------------------------------------------
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".
For problems, contact the list owner at
"postmaster@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 16 |
January |
2007 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.