Hi,
I want to write a programm that does this:
1.Find the first file in the directory
2.print its name into a input field
3.rename the file
Then the same procedure happens with the second file. The programm should rename all files in the directory.
My questions are:
1.How can I get a filename from the directory?
2.How can I print a text into an input field(like scanf or gets)?
I´m writing the program for linux.
Thanks.