F
F
fowiv2020-02-04 14:47:28
cmd/bat
fowiv, 2020-02-04 14:47:28

How to specify in the script the path in which the folder constantly changes its name?

People, all welcome!

How to specify in the script the path in which the folder constantly changes its name?
Well, for example, there is a folder along the way and today it has the following name C:\Users\Admin\ Window_2387645873265riufdg \data, tomorrow it will be C:\Users\Admin\ Window_tao4c545myvmyv \data, etc.
How to specify such a dynamic path in a bat/cmd script?

Set DestIN=C:\Users\Admin\Window_2387645873265riufdg\data\*.


Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Prilepa, 2020-02-04
@fowiv

I think you need to first read the list of folders in C:\Users\Admin\ and select the one you need from them, especially if its name falls under the Window_* pattern

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question