|
Answer» Hi all, I am new to this FORUM, kindly help me to find out the things.
I have created some of BATCH files to copy,transfer,PRINT files from specific path in command promt.
Now I want to find Microstation DGN files from my hard drive. I dont know the exact path where the file would be located but i have the path like this " D:\Complex\Area\Work\Agency\Drawing\...\.....\.... " I know that into "drawings" i can have my .DGN file but in that Drawing directory there are some more child directores & how to find them through dos ?
Now can I get these drawings & paste in other drive(defined path) from DOS prompt ?? what would be the code of batch file for this ? What OS are we talking about. If it's vista then you can use the where command. Code: [Select] where /? Else you'd have to use: Code: [Select] dir /a-d /b /s D:\Complex\Area\Work\Agency\Drawing\*.DGN that will list all .DGN files in drawings and all SUB directories. to copy them you need to output that information into a .TXT file and then use xcopy to copy them to the new directory.
FB
|