Stat.Type (gb)

Property Read Type As Integer

Returns the type of the file.

It can be one of the following constants:

gb.File Regular file
gb.Directory Directory
gb.Device Special file for a device
gb.Pipe Named pipe
gb.Socket Special file for a socket
gb.Link Symbolic link