On Thu, 21 Dec 2000 00:56:46 -0500, Duane Chamblee wrote:

>BTW, Dimitris... thanks. It worked... Here's a tip for REXX that you
>might want to replace the 
>dir=directory()
>with
>parse source . . me . ; dir = left( me, lastpos( '\', me ) - 1 )
>Although, it's more code, it actually uses the path where the .CMD
>exists, not the current working directory. That way if some one runs the
>batch from another directory, it will work...

that is a very good idea! although i never had problems, your suggestion is
a much better way. Thanks!

>You might want to use a variable name other than "dir" becuase that is a
>shell command.

well, i dont think that it matters alot, since if you wanted to run a dir command then
you'd type 'dir' with the quotes around it. Without, it just uses the variable. So i 
dont
see any conflict there.

� H.I.C. & D.B.S. � OS/2 Warp � Hellas �
� ServerConfig � ConfigEdit � OS/2 UK UG �



Reply via email to