cmd - Batch empty subfolders from folders in a CSV file -


I have a very long list of partial names for folders (each partial is unique to a specific folder); What I'm going to do is to write a batch file to go through every subfolders in each folder, drag the file to the root of that folder, and copy if copied (there are too many duplicates) , Looking back again).

I have used some folders to move other things and use other things, I can not get the code to clear the subfolders.

Batch file 1 (To access CSV for calling other batch to work):

 < Code> @echo off for FOR / F token = 1, 3 delims =, "%% g in (Pt1Test.csv) dot blank 1.bat %% G   

batch file2 ( Subfolders are supposed to be empty, then go ahead in the list in the folder):

  @echo set to set_uname =% 1 / f " Eol =: delims = "%% F ('Dir / b ^ | find'% _Uname% '')) & lt; Next bit I do not exclude figure & gt;   

Even It's getting the command to pull in the main folder.

I know this code works when I'm in the correct dos:

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -