The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 Tips and Tricks
 Create LST files in Windows (.BAT)

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Admin Posted - January 21 2004 : 9:27:10 PM
I've just added an FAQ entry explaining how you can create automaticallyl generate a FileList using the Windows Command prompt (or in a BAT file), recursively supplying all filenames matching your pattern into a LST file.

This can be handy if you always want your FileLists to be up-to-date, or regenerate on a scheduled basis.

http://www.74mph.com/faq/FAQ00142.html

Regards,
Bill
4   L A T E S T    R E P L I E S    (Newest First)
Admin Posted - January 22 2004 : 2:50:13 PM
No problemo!

Any time!

Bill
n/a 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.
Admin 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
n/a 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

The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000