diff --git a/tasks/zinoveva-ad/lab_2/worker-1/Program.cs b/tasks/zinoveva-ad/lab_2/worker-1/Program.cs index 6b16175..93b6bfb 100644 --- a/tasks/zinoveva-ad/lab_2/worker-1/Program.cs +++ b/tasks/zinoveva-ad/lab_2/worker-1/Program.cs @@ -1,13 +1,13 @@ using System; using System.IO; -var dir = new DirectoryInfo("../var/data"); +var dir = new DirectoryInfo("/var/data"); var files = dir.GetFiles(); //var quantity_files = dir.GetFiles().Length; -string resultFilePath = "../var/result/data.txt"; +string resultFilePath = "/var/result/data.txt"; try { // Создаем новый файл или перезаписываем существующий diff --git a/tasks/zinoveva-ad/lab_2/worker-2/Program.cs b/tasks/zinoveva-ad/lab_2/worker-2/Program.cs index 56c440d..75a622e 100644 --- a/tasks/zinoveva-ad/lab_2/worker-2/Program.cs +++ b/tasks/zinoveva-ad/lab_2/worker-2/Program.cs @@ -1,8 +1,8 @@ using System; using System.IO; -string filePath = "../var/data/data.txt"; -string resultPath = "../var/result/result.txt"; +string filePath = "/var/data/data.txt"; +string resultPath = "/var/result/result.txt"; // Считываем числа из файла int[] numbers = ReadNumbersFromFile(filePath);