Easy routine to check/create directories
This very simple routine avoid checking if a correct path alreadyexist before using it and, if not, create it exactly as you want.Imagine you wont to write a log file in a path defined as:C:MyapplicServiceslogsLOG.TXTyou must check before if the directory Myapplic exist andthen check all other subdirectory (Service,logs) before opening thefile For Output. Probably you will use… Read More »