I know how to use the file_pointer=fopen("location","type") to open and check if a file exists. But I'm not sure how I would use this command or a similar one to check if a folder exists?
What command do I have to use to check if a folder exists in the current directory?