中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-23 13:38
47,812 topics / 349,917 posts / today 0 new / 48,273 members
DOS批处理 & 脚本技术(批处理室) » [Help] How to detect files containing "ABC" in the file name?
Printable Version  2,657 / 2
Floor1 yy2118370 Posted 2016-03-10 10:13
初级用户 Posts 13 Credits 29
In the D:\TEST folder has a batch of files, and I want to move the files whose filenames contain "ABC" to D:\ABC. How should I operate? Among them, "ABC" is consecutive like k123abc4.txt, and also if it is a long filename, how should I operate?
Floor2 xtf Posted 2016-11-08 15:08
新手上路 Posts 8 Credits 14
@echo off
pushd D:\TEST
for /f "tokens=*" %%i in ('dir/s/b *abc*') do (
copy "%%i" D:\ABC
)
popd
Floor3 zzz19760225 Posted 2016-11-09 09:03
超级版主 Posts 2,020 Credits 3,673
Can a computer understand and execute with robotic intelligence regarding the content of the first floor?

In the human - computer chess match, the content of the second floor is one of the pieces of information that can be provided by a pre - set program, and the first floor is the content input by a human in the human - machine interaction to the machine.

Also, it may be similar to robot devices, equipment in robot factories, robot aircraft, and network robots. When encountering specified environmental information, it makes logical judgments and displays one of the pre - set contents.

Simply understood as an interpretation - type command, based on the expected information body, inputting the information language of the contract between humans and the machine, and displaying the relevant available contents, which is a bit similar to browser search.

For the content of the second floor, the robot cannot provide it. It is necessary to collect the existing contents of humans, sort and compare them to form logical information, and then it can be used by the robot. (Can the machine use the enumeration method in "Poetry from the Sky", brute - force cracking, but even if enumeration is theoretically achieved, it is difficult to find a moderate one. The American computer collects and screens the whole world, but can it be completely enumerated? Probably not.)

Can there be a service attempt in the forum to provide relevant information by referring to the existing information in the forum and the content of the poster.

[ Last edited by zzz19760225 on 2016 - 11 - 9 at 09:20 ]
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023