Directorys

This is a discussion on Directorys within the C Programming forums, part of the General Programming Boards category; Hi all ok have this idea to create a prog which capitalises the first letters of all the parent directory ...

  1. #1
    Patent Pending GSLR's Avatar
    Join Date
    Sep 2001
    Posts
    134

    Question Directorys

    Hi all

    ok have this idea to create a prog which capitalises the first letters of all the parent directory folders on a drive.

    A few ideas as to how i would go about it would be appreciated

    Thanks

    Does a person who ssstuters stutterr when he typpes as well ??

  2. #2
    Sayeh
    Guest
    Use a recursive algorithm to walk the directory hierarchy, and then keep track of what level your on. Based on the level, rename the directory.

    It's up to you how much havoc you create doing this--- some O/Ss are case sensitive.

  3. #3

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21