Find and open file
Posted: 21 Sep 2011 06:46
Hi all,
I'm looking for someone who can help me resolve this:
I have DB folder structure for technical documents looks like for example:
122-redukce-nastavce
├ 0-99
│ ├ 6-122-00002 NÁSTAVEC Mo1 na Mo1-14x250 -PL
│ ├ 6-122-00006-Mo1xMo1;L=250
│ ├ 6-122-00010-Mo3xMo2;L=300
│ etc.
├ 100-199
├ 200-299
etc.
124-rychloupinaci hlavice
126-vrtaci a vyvrtavaci tyce pevne
etc.
So I need script which can find and open file 6-122-00002-00.dwg if user input groupe = 122 and number = 2
I know how convert 122 and 2 to full name 6-122-0002-00.dwg but I can't figure out, how find full path to folder.
Tnx for any advice
I'm looking for someone who can help me resolve this:
I have DB folder structure for technical documents looks like for example:
122-redukce-nastavce
├ 0-99
│ ├ 6-122-00002 NÁSTAVEC Mo1 na Mo1-14x250 -PL
│ ├ 6-122-00006-Mo1xMo1;L=250
│ ├ 6-122-00010-Mo3xMo2;L=300
│ etc.
├ 100-199
├ 200-299
etc.
124-rychloupinaci hlavice
126-vrtaci a vyvrtavaci tyce pevne
etc.
So I need script which can find and open file 6-122-00002-00.dwg if user input groupe = 122 and number = 2
I know how convert 122 and 2 to full name 6-122-0002-00.dwg but I can't figure out, how find full path to folder.
Tnx for any advice