freebasic

Recommendation To Learn FreeBASIC

I'm now going to have a home project that I need to learn FreeBASIC, and it syntax is like QuickBASIC as on the wiki: FreeBasic is a BASIC compiler with syntax compatible to QuickBasic, with several improvements that make it a viable compiler for Operating System Development. But what did you suggest to me? More suggestion...

IsFile, IsDirectory Test Windows

I'm trying to convert a program from Linux to use on Windows, and it calls test -f, or test -d on Linux. I need it to do the same thing on Windows. Is there a built-in command, or another program I can use to do the same thing? I'm programming using FreeBASIC (horrible, but it's what I got). EDIT: An external program is the best option...