body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
line-height: 1.6;
color: #333;
max-width: 1000px;
margin: 0 auto;
padding: 20px;
}
h1, h2, h3 {
color: #2c3e50;
}
a {
color: #3498db;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
pre {
background-color: #f8f8f8;
border: 1px solid #ddd;
border-radius: 4px;
padding: 12px;
overflow-x: auto;
font-family: "Courier New", Courier, monospace;
}
code {
font-family: "Courier New", Courier, monospace;
background-color: #f8f8f8;
padding: 2px 4px;
border-radius: 3px;
}
table {
border-collapse: collapse;
width: 100%;
margin: 20px 0;
}
th, td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
th {
background-color: #f2f2f2;
}
.navigation {
margin-bottom: 30px;
padding: 10px;
background-color: #f9f9f9;
border-radius: 5px;
}
.navigation ul {
list-style-type: none;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.navigation li {
display: inline;
}
.example-output {
margin-top: 10px;
padding: 10px;
background-color: #e8f4fc;
border-left: 4px solid #3498db;
}
.note {
margin: 20px 0;
padding: 15px;
background-color: #fff8e1;
border-radius: 5px;
border-left: 4px solid #ffc107;
}
ASP GetExtensionName Method
ASP Objects
ASP Components
ASP and AJAX
ASP Summary
ASP Examples
Complete FileSystemObject Reference
ASP GetExtensionName Method
The GetExtensionName method returns a string containing the file extension name for the last component of a specified path.
Syntax
FileSystemObject.GetExtensionName(path)
| Parameter |
Description |
| path |
Required. The path to the file for which to return the extension name. |
Example
Complete FileSystemObject Reference
Note: This is a translated version of a tutorial from Tutorial.com. The original content is in Chinese.