Hi folks;

Is there some way I can test for the existance of a DOSKEY macro within a batch file? Foe example:

if exist DOSKEY MACRO goto Menu

I know that line is no good, but wonder if there's a way.

Related to that question, is there any harm in simply redefineing a macro that already exists? For example:

:: Some batch file
@echo off
DOSKEY MacroName=function

Suppose that batch file gets run several times, the MacroName macro will get defined every time. Is this any kind of problem?

Thanks all, Dex