Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Capital Letters In Filenames

Posted on 2001-07-08
4
Medium Priority
?
518 Views
Last Modified: 2012-06-27
Hi!
I'm working on a program that renames multiply files. The files contains underscore and the program replaces them with space.

My program changes the filename from:
the_files_looks_like_this.txt
to:
the files looks like this.txt

I'm looking for another feature for my program which is a function that change the small letters to capital letters so the file looks like this when all changes has been made. Now the file should look like this:
The Files Looks Like This.txt
0
Comment
Question by:Ecmil
  • 3
4 Comments
 
LVL 7

Accepted Solution

by:
Inteqam earned 200 total points
ID: 6262349
StrConv(YourString,vbProperCase)
0
 
LVL 7

Expert Comment

by:Inteqam
ID: 6262350

StrConv("the files looks like this.txt",vbProperCase)
would produce
The Files Looks Like This.txt
0
 

Author Comment

by:Ecmil
ID: 6262357
Excellent!!!

Thanks a lot!!!!
0
 
LVL 7

Expert Comment

by:Inteqam
ID: 6262359
anytime
:)
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

879 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question