How to split the filename from a full path in batch?

前端 未结 5 550
离开以前
离开以前 2020-11-29 23:30

How do I split the filename out of a full path in batch scripting?

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-30 00:16

    I don't know that much about batch files but couldn't you have a pre-made batch file copied from the home directory to the path you have that would return a list of the names of the files then use that name?

    Here is a link I think might be helpful in making the pre-made batch file.

    http://www.ericphelps.com/batch/lists/filelist.htm

提交回复
热议问题