Re: [Freedos-user] if not exist MD XXX

2011-05-14 Thread Christian Masloch
Hey, if not exist mydir/nul md mydir Doesn't work on XP (I think?), but that's the typical DOS way. This kept bothering me for some reason, so I checked now. It appears to work just fine on MSW NT command lines, executing the command after if not exist dir\nul if and only if that directory

Re: [Freedos-user] if not exist MD XXX

2011-05-14 Thread Eric Auer
Hi Christian, if not exist mydir/nul md mydir Doesn't work on XP (I think?), but that's the typical DOS way. This kept bothering me for some reason, so I checked now. It appears to work just fine on MSW NT command lines, executing the command after if not exist dir\nul if and only if

Re: [Freedos-user] if not exist MD XXX

2011-05-14 Thread Christian Masloch
Hi Eric, As far as I remember, the DOS findfirst API is supposed to find character devices (such as NUL) in any (existing) directory, so this would depend more on DOS than on COMMAND, but I am not sure. Without any further investigation, I'd say that's part of it. However, aside from the

[Freedos-user] if not exist MD XXX

2011-05-12 Thread Ray Davison
Is there such a batch command? Ray -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help