Here is an interesting bit about BAT file compilers -

http://www.robvanderwoude.com/batutils.html

quote:

(Be aware, that compilers may not understand all the magic you are performing in batch files. Use standard commands only, if possible, and forget about undocumented DOS features.)

Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's