I have a process that deletes files in a directory that are older than three days old.
The path is acquired by reading the first line in a text file
That path can be anything from C:\temp to C:\Program FIles (386)
With that said...
Do I need to change this code to allow for spaces in the text file "directory" line?
DIm strPath as String = File.ReadAllLines(Path.GetFullPath("directorypath.txt")).First()
Dim di As New System.IO.DirectoryInfo(strPath)