将文件复制到WinBatch中的未知目录中

时间:2017-07-01 13:21:46

标签: batch-file cmd xcopy

我正在编写自己的半前端控制台应用程序。我的PBOOT.PBP命令有问题。 我想将ux0_pspemu_temp_game_PSP_GAME_!randomletters&numbers! 文件复制到文件夹

xcopy %CD%\data\easyinstaller\ARK\PBOOT.PBP %CD%\Delete_me\ux0_pspemu_temp_game_PSP_GAME_!randomletters&numbers!

示例:

ux0_pspemu_temp_game_PSP_GAME_NPEG00024

在这种情况下,文件夹名称是: ux0_pspemu_temp_game_PSP_GAME_NPUH99313

但在其他情况下,名称会有所不同 - 例如#ingredients td:nth-child(4)::before {content:"(";} #ingredients td:nth-child(4)::after {content:")";}

1 个答案:

答案 0 :(得分:0)

您可能首先确定目录的名称,可能将其设置为变量以便于重复使用:

Asynchronous