Badboii,

tried earlier posted code at work:
code:
Break on CLS
If Exist("e:\y\nul") <> 0
? "Y exists"
Else
? "Y missing"
EndIf

On W2kPro SP2 with Kix4.10a

*****

At home tried following:
code:
Break on CLS
:chk
If Exist("e:\y\nul") = 0
? "Y missing, creating it..."
MD "e:\y"
Goto "chk"
Else
? "Y exists"
EndIf

On WinXp with Kix4.10a

if Dir y didn't exist, first run gives:
  • Y missing, creating it...
  • Y exists
second run gives:
  • Y exists
*****

So it seems to work... what code did yuu try???

[ 31 July 2002, 00:07: Message edited by: MightyR1 ]
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...