Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / December 2006

Tip: Looking for answers? Try searching our database.

Long file name to Short file name

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robert_L_Ross - 08 Dec 2006 00:49 GMT
OK, he're's the dilemma.

I have two lists of files I've imported.  One has the file names/paths in
long format that contains the path, name, size, last accessed, etc.

The other list has them in DOS format wiht name, path size, last accessed
and owner.

I need to get the file name strings in the same format so I can compare the
two and put the owners to the long file names.

Is there some magical way to put these lists in Access and somehow convert
the long file paths/names to short file paths/names?  It's the only way I can
think of to get the files in sync.  I thought of converting from short to
long, but my problem is I may have three files with a short name of
OGS101~1.TXT that have three different owners - how would I know what one is
~1, ~2 or ~3 when they are all the same size/file date?

I found some scripts that take out the spaces, but I don't know how the
short file name handles special characters and how it truncates to ~2, ~3,
etc.

Any help would be greatly appreciated!
Douglas J. Steele - 08 Dec 2006 00:53 GMT
See http://www.mvps.org/access/api/api0020.htm at "The Access Web"

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)

> OK, he're's the dilemma.
>
[quoted text clipped - 22 lines]
>
> Any help would be greatly appreciated!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.