View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003109 | FSiMX6 | F3S | public | 2016-12-06 12:21 | 2016-12-06 15:59 |
Reporter | derksen | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | V2.10 | ||||
Target Version | V2.30 | Fixed in Version | V2.20 | ||
Summary | 0003109: Improve file search | ||||
Description | Search string like "\dir\*filena*" to match against the names of files doesn't work. | ||||
Additional Information | C# example from company perdum: ... public const string SAVEPATHPARFILES = @"\FFSDISK\Perdum\Parameters"; private const string PATH_PARAMETERS_INTERN = @"\FFSDISK\Perdum\ParameterFile\"; private const string FILENAME_PARAMETERS_INTERN = "parameters.par"; private const string FILENAME_PARAMETERS_BAK = "parameters.bak"; ... public bool DeleteParFiles() { bool retVal = false; try { if (Directory.Exists(SavePath)) { string[] files = Directory.GetFiles(SavePath, "*PARAM*"); int filesCount = files.Count(); for (int i = 0; i < filesCount; i++) try { File.Delete(files[i]); } catch (Exception ex) { } } retVal = true; } catch (Exception ex) { } return retVal; } private void OpslaanInternMouseDown(object sender, EventArgs e) { string filename = "\\FFSDISK\\Perdum\\ParameterFile\\"; if (ExportParFile(PATH_PARAMETERS_INTERN + FILENAME_PARAMETERS_INTERN)) { DeleteParFiles(); if (File.Exists(PATH_PARAMETERS_INTERN + FILENAME_PARAMETERS_BAK)) File.Delete(PATH_PARAMETERS_INTERN + FILENAME_PARAMETERS_BAK); } } | ||||
Forum Link | |||||
Found Driver Version | V1.12 | ||||
Fixed Driver Version | V1.13 | ||||