Re: [AD] make failing on mkdir

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Windows XP Pro, the syntax is just: MKDIR [drive:]path

Can't find any info with other switches (other than /?)


On Fri, 28 Jan 2005 10:55:51 +0100, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> > > if not exist DIR ( mkdir DIR )
> > >
> > > ? Do all Windows versions support this?
> 
> You can't use exist to check for directories directly, if I recall. At
> least you couldn't in DOS. You'd have to check for if [not] exist DIR\nul
> or something like that... I don't remember, but can probably look it up.
> (once again wishes Windows were more like UNIX with things like this...)
> 
> > Doesn't the windows mkdir support something like the -p option? It could
> > just be used then, and mkdir called on all install dirs, no matter if
> > they exist.
> 
> No, as far as I know it doesn't... unfortunately.
> 
> Evert
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers
> 


-- 
There is no sig.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/