|
-
Jan 11th, 2002, 01:36 PM
#1
Thread Starter
Junior Member
Directories finding and naming
Here is what I want to do, there are folders called UserData(x) where (x) is there is a number. They are named UserData1 Userdata2 Userdata3 etc. up to 7 / 8 normally.
However I want to be able to work out how many directories there are with these names, so I can create a new one with a name 1 number higher than the existing highest.
eg. if the higher one was called UserData8 I would create UserData9 with my program.
I know about creating directories, but I need a bit of help with the first bit, and adding the number to the directory name.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|