Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

name of the second subfolder

Status
Not open for further replies.

celia1

MIS
Nov 25, 2002
20
FR
Hy,

I want to obtain the name of the second subfolder.

thanks
 
We will need a lot more information. What do you mean by second? Alphabetically? In Size? Modification Date? Creation Date? Number of files contained?

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Well i have a folder which has 3 subfolders. The result of the script returns the name of the second subfolder.
 
Again, what do you mean by second? If you have code then please post it. For you to have a meaningful concept of second, you need to determine a sort method first.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
I try to write the script but i don't know how to do.
I have to recuparate the name of one subfolder to change parameters in a file.
C:\Folder\subfolder1
C:\Folder\subfolder2
C:\Folder\subfolder3
C:\Folder\subfolder4

I want for example to recuparate the name of "subfolder3" and then recuperate parameters and change theses parameters in subfolder4.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top