if not directory("Z:\") messagebox("No Network Connection",0+16+256,"Accounts System") clear events quit else messagebox("Network Connection Exists",0+16+256,"Accounts System") EndifAfter this Z drive is shown with other Hard Disks.
messagebox("No Network Connection",0+16+256,"Accounts System")But Z drive is still exists in my computer.
messagebox("No Network Connection",0+16+256,"Accounts System")Why to repeat this again and again?
if not directory("Z:\")I want to ask, is there any other command to check network drive connection?