Hi, hallo
mithilfe des Scripting.FileSystemObject
Bsp. in VBS
set fso = CreateObject("Scripting.FileSystemObject")
file_path = "C:\Windows\system\rundll.exe"
file_basename = fso.getBaseName(file_path)
file_extension = fso.getExtensionName(file_path)
....
Tschau, tschüß,
Frank