Author |
Topic |
|
Admin
Administrator
652 Posts |
|
n/a
deleted
112 Posts |
Posted - January 22 2004 : 09:17:50 AM
|
Bill, I have been using this method to generate a file list. In fact, I have taken it one step further, I think, in that I created a shell command in the registry under the folder type which allows me to right click on a folder (in Explorer's folder view) and select this option to produce the file list. What I end up with, however, are the drawing names without the paths, which your post yesterday indicated was a problem. I tried issuing a command prompt from the folder this morning, and running the batch file directly (without the right click method) to see if that produced the needed drawing paths. ...Still didn't do so. Does your method, on your computer produce the path? If so, what may I be doing wrong?
(I have attached my batch file which produces the initial drawing list which I have been further processing (sorting) using UltraEdit, as posted yesterday. [I had to rename it to a TXT file in order to post: security and an executable file type (BAT), I presume.])
Thanks for your help, as always !!
Download Attachment: spn.txt 635 Bytes |
Steve Bubendorf
|
|
|
Admin
Administrator
652 Posts |
Posted - January 22 2004 : 11:19:09 AM
|
Hmmm... interesting..
If I try dir *.dwg /oen /b /s > test.txt at the CMD line, then I get a file list with paths...
AH! The difference is the use of the /S switch. I've tried it without and you only get the filenames without the path. I guess this is a limitation of the DIR command... to get the full path, you have to use the /s, but you will also get all contents of sub-directories listed.
Regards, Bill |
Hurricane for AutoCAD http://www.74mph.com FAQ at http://www.74mph.com/faq/faq.html Tutorials at http://www.74mph.com/tutorials.html |
|
|
n/a
deleted
112 Posts |
Posted - January 22 2004 : 12:59:04 PM
|
THANKS, BILL !! I think I can work with that. I'm sorry I did not check out the results using the /s switch before bothering you. |
Steve Bubendorf
|
|
|
Admin
Administrator
652 Posts |
|
|
Topic |
|
|
|