Message 1 of 12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to delete files containing similar words in files. in my case NN as perameter value and exist in all files as mentioned in below list.
"Nozzle-01_" & NN & ".iam"
"Nozzle Neck-01-01_" & NN & ".ipt"
"NozzleRepad-01-01_" & NN & ".ipt"
"Flange-01-01_" & NN & ".ipt"
"Blind-01-01_" & NN & ".ipt"
"Gasket-01-01_" & NN & ".ipt"
found some way and applied but un-successful.
if someone help me it will be highly appreciated.
Thanks in advance
SyntaxEditor Code Snippet
Dim iPath As String = ThisDoc.Path & "\" Dim ContainingFileName As String = NN If IO.File.Exists(iPath.Contains(ContainingFileName)) Then IO.File.Delete(ContainingFileName) End If
Solved! Go to Solution.