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

2013-02-16 Thread Chris Evans
Updated it, now compiles under gcc on linux and freedos using Borland C... http://digitalatoll.com/pub/DMSOFT/exist.zip -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all

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 dennis.mccun

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

2013-02-15 Thread dmccunney
On Fri, Feb 15, 2013 at 12:23 AM, Rugxulo rugx...@gmail.com 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

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

2013-02-14 Thread Rugxulo
Hi, On Thu, Feb 14, 2013 at 6:40 PM, dmccunney dennis.mccun...@gmail.com wrote: On Thu, Feb 14, 2013 at 7:15 PM, Ray Davison ray...@charter.net wrote: Is there something like this in FD? IF NOT EXIST X:\ZZZ MD X:\ZZZ Everything in front of the MD is ignored, and there is an error if

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

2013-02-14 Thread Chris Evans
For those that cant use the NUL trick they can use exist.exe it will check for dir and file name and return errorlevel. http://digitalatoll.com/pub/DMSOFT/exist.zip -- Free Next-Gen Firewall Hardware Offer Buy your