|
不知道你的 \Program Files\Cisco\Cisco AnyConnect Secure Mobility Client\Plugins v7.063 是到文件夹还是文件??
如果是文件夹,可以在此文件夹中指定一个文件,用FOR查找判断,如果存在此文件,设为当前文件夹,然后再拷贝(复制),
例:
for /f "skip=1" %%p in ('wmic logicaldisk where "drivetype=3" get name') do if exist %%p\Program Files\Cisco\Cisco AnyConnect Secure Mobility Client\Plugins v7.063\*.txt pushd %%p\Program Files\Cisco\Cisco AnyConnect Secure Mobility Client\Plugins v7.063
|
|