Using test in Cygwin and Batch-File
Kai Schlichting
Gayson@web.de
Wed Aug 16 23:00:00 GMT 2006
Hi!
I wanna test, if a path in Cygwin exists, and if not, it should be created.
I tried to write a Batch-File, but dont know how to fill the if statement:
if not %cygwin%\test -d /myfolder/myfolder2
%cygwin%\mkdir /myfolder/myfolder2
How would you solve the Problem? I think, its easy for you, but sorry,
i'm not yet familiar with Unix- and Windows Commandlines...
Thanks!
Kai
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list