Is it possible to do this with variables Windows Shell?

0 like 0 dislike
29 views
Colleagues, absolutely welcome!

Know Windows Shell at the very school level. You need to realize one task. I want to know can it be done using the command set.

Run *.cmd
1. The user enters the variable 6 digits <123456>
2. In path looking for a file format – bukva<123456>.txt
3. If the file is not in this folder for the second folder, the other way.
4. If found, it copies to a USB flash drive these files.

Could it pull the command line, or it is necessary program to write?

Thank you!
by | 29 views

1 Answer

0 like 0 dislike
help FOR


Modeled the situation.

Folder 1 - d:\\111
FILE_144004_FILE.txt
FILE_144004_FILE_2.txt

Folder 2 - d:\\222
FILE_145005_FILE.txt
FILE_145005_FILE_2.txt

You need to record on a memory stick, drive f:\\
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
110,608 questions
257,187 answers
0 comments
40,796 users