Random thoughts of a Bodger
Like the title says... random thoughts. No agendas here, just what ever I feel like writing about.
Friday, April 03, 2009
Nice little VBScript trick
To go from a path like this
D:\_pdf\a\b\c\foo.bar
to a path like this
D:\a\b\c\foo.bar
you can do this
sFile = "D:\_pdf\a\b\c\foo.bar"
sResult = Join(Split(sFile, "_pdf\",-1,1),"")
I just thought I'd share.
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)