Zip only went 1000 days...
Added Create Note Files Changed to Path.Combine
This commit is contained in:
@ -65,7 +65,10 @@ internal static class HelperSaveOrCopyContents
|
||||
long now = DateTime.Now.Ticks;
|
||||
StringBuilder data = new();
|
||||
string[] dataCollection;
|
||||
string filePathAndName = string.Concat(Path.GetDirectoryName(argsZero), @"\", fileName, ".txt");
|
||||
string? parentDirectory = Path.GetDirectoryName(argsZero);
|
||||
if (string.IsNullOrEmpty(parentDirectory))
|
||||
throw new Exception();
|
||||
string filePathAndName = Path.Combine(parentDirectory, $"{fileName}.txt");
|
||||
if (alongSideTopDirectoryOnly)
|
||||
File.WriteAllText(filePathAndName, string.Empty);
|
||||
else if (alongSideAllDirectories)
|
||||
|
Reference in New Issue
Block a user