Re: [Freedos-user] if not exist? / Garbo's TSBAT

2013-02-15 Thread dmccunney
On Fri, Feb 15, 2013 at 12:23 AM, Rugxulo wrote: >> IF NOT EXIST X:\ZZZ\NUL MD X:\ZZZ should do what you want. > > For completeness (though someone correct me if I'm remembering > incorrectly), this hack is a typical DOS idiom, but ... > > 1). It doesn't work under WinXP's CMD.EXE (etc.) It's no

Re: [Freedos-user] if not exist?

2013-02-15 Thread Alain Mouette
Yes, that trick works since very old MS-DOS versions ;-) Alain Em 14-02-2013 22:30, Eric Auer escreveu: > > Hi! > >> If that doesn't work then a exist.c should be made that friend 1 errorlevel >> if so let me know and I make it > > You misunderstood, IF EXIST does exists but has to > be used in a

Re: [Freedos-user] if not exist? / Garbo's TSBAT

2013-02-15 Thread David C. Kerber
> -Original Message- > From: Rugxulo [mailto:rugx...@gmail.com] > Sent: Friday, February 15, 2013 12:24 AM > To: Discussion and general questions about FreeDOS. > Subject: Re: [Freedos-user] if not exist? / Garbo's TSBAT > > Hi, > > On Thu, Feb 14, 2013 at 6:40 PM, dmccunney > wrote: