warning: function /home/michel/octave/specfun-1.1.0/x86_64-pc-linux-gnu-api-v49+/ellipj.oct shadows abuilt-in function
warning: function /home/michel/octave/specfun-1.1.0/erfcinv.m shadows a built-in functionwarning: f
有没有更好的方法让每一段路径到达根,例如,给定 E:\AllMusic\The Shadows\The Very Best of The Shadows 我想要得到 E:\AllMusic\The Shadows\The Very Best of The ShadowsE:\AllMusic
E:\ 我已经用下面的代码做到了这一点(我只是打印出路径,但在实际代码中需要对这些路径做一些事情