Can I use a hyphen in a file name?

Can I use a hyphen in a file name?

Don’t start or end your filename with a space, period, hyphen, or underline. Keep your filenames to a reasonable length and be sure they are under 31 characters. Most operating systems are case sensitive; always use lowercase. Avoid using spaces and underscores; use a hyphen instead.

What symbols can be used in a file name?

In Windows

Character Name
? question mark
% percent
* asterisk or star
: colon

What are the two parts of a file name?

Windows file names have two parts; the file’s name, then a period followed by the extension (suffix). The extension is a three- or four-letter abbreviation that signifies the file type. For example, in letter.

How to use a hyphen in a file name?

Here’s how: Say you write your file names like I do. That is, by entity: 1. Client Name: Nike (Name is often abbreviated) 2. Descriptive Title: About_Us 3. Client Round: r3 4. Internal Direction: a1 Separating each of these entities with a hyphen allows you to double-click and highlight only that entity.

What’s the best way to write a file name?

Key Point: Use all-lowercase, and separate words with hyphens. Make file and directory names lowercase. In general, separate words with hyphens, not underscores. Use only standard ASCII alphanumeric characters in file and directory names.

When to use hyphens instead of underscores?

In general, separate words with hyphens, not underscores. Use only standard ASCII alphanumeric characters in file and directory names. If you’re adding to a directory where everything else already uses underscores, and it’s not feasible to change everything to hyphens, it’s okay to use underscores to stay consistent.

How to change file names and file types?

Recommended: In the following build.sh file, modify the default values for all parameters: When interacting with files and file types, don’t use the file types as a verb. Recommended: Extract a zip file. Not recommended: Unzip a zip file. Key Point: Use the formal file type name, not the filename extension.