• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

.vbs convert filename to 8.3

I was wondering if anyone had a simple code snippet that would convert a filename (contained in a string) to an 8.3 filename (contained in a string).

Example:

C:\Documents and Settings\Dave
-to-
C:\Docume~1\Dave

I want to add this snippet to my existing .vbs script, so no "other" solutions please.

Dave

I just figured this one out myself.  The answer was for me to use a combination of trim() and mid().  So, shall i award the points to whoever can tell me how to remove this question?

Dave
0
antstrength
Asked:
antstrength
1 Solution
 
David LeeCommented:
Post a request in Community Support (http://www.experts-exchange.com/Community_Support/) asking to have the question deleted.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now