I am a single command is the c: \ \ wamp \ bin \ PHP php5.5.12 \ PHP exe d: \ a12 \ index PHP - f in d: \ a13\102. CSV under the ms-dos enter the carriage return can run. 102. There are many types of document, behind the CSV beg god for help, thank you.
My program in c: \ \ wamp \ bin \ PHP php5.5.12 \ PHP exe, this is the location of the document d: \ a13\102. CSV,
CodePudding user response:
Directly use the wildcardCodePudding user response:
Direct use wildcards can't completeCodePudding user response:
Check the forfiles usageCodePudding user response:
You provide you need to deal with file format?102. The CSV
Behind is the name of the format. All CSV
It is ok to handle all the CSV?
CodePudding user response:
The set work_path=d: \ a13
D:
CD work_path % %
For/R % % s in (., *) do (
C: \ \ wamp \ bin \ PHP php5.5.12 \ PHP exe d: \ a12 \ index PHP - f % % s
)
Pause
Don't know your file list
This is traversing the d: \ a13 under all files you run the command code, if you have any specific content, can you tell me, I think again.