Exception:路径中具有非法字符。

报错信息 1
ArgumentException: 路径中具有非法字符。
--Message: 路径中具有非法字符。
StackTrace:
   在 System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
   在 System.IO.Path.Combine(String path1, String path2)
   在 BatchRenameTool.Services.BatchRenameExecutor.Execute(IEnumerable`1 operations, IProgress`1 progress)
   在 BatchRenameTool.Services.BatchRenameService.RenameFiles(IEnumerable`1 filePaths, IEnumerable`1 newNames, IProgress`1 progress)
   在 BatchRenameTool.Services.BatchRenameService.RenameFiles(IEnumerable`1 filePaths, String pattern, IProgress`1 progress)
   在 BatchRenameTool.ViewModels.BatchRenameViewModel.<>c__DisplayClass48_0.<ExecuteRenameAsync>b__1()
   在 System.Threading.Tasks.Task`1.InnerInvoke()
   在 System.Threading.Tasks.Task.Execute()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 BatchRenameTool.ViewModels.BatchRenameViewModel.<ExecuteRenameAsync>d__48.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 CommunityToolkit.Mvvm.Input.AsyncRelayCommand.<AwaitAndThrowIfFailed>d__40.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

版本:1.44.51 2025-12-24 15:26 Microsoft Windows NT 10.0.22631.0