Bean's Place Forums
   Bean's Support and Announcements
    Register Arcade  •  FAQ  •  Search  •  Login     
It is currently Wed Jun 28, 2017 4:30 pm

All times are UTC + 10 hours [ DST ]

Welcome to bean

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: 8.3 file paths / AlphaFS 1.5 versus 2.0
PostPosted: Mon Jan 18, 2016 12:11 pm 

Joined: Mon Jan 18, 2016 11:54 am
Posts: 1
Hello Hunter,

I have a problem with the automatic conversion of file paths into the 8.3 format: For paths (including file name) definitely much shorter than 200 characters AutoVer creates new directories in the 8.3 naming format which then are created in addition to the original path. This way, AutoVer is not usable for me (although in general it seems to exactly match my requirements).

I am not a programmer, however checking the source code, I worked out that the code responsible for path name conversion refers to AlphaFS 1.5. The current version is AlphaFS 2.0: Would it be possible to provide a new built with AlphaFS 2.0? Maybe this eliminates the problem already?

Windows 7 with AutoVer backing up to a Synology NAS in the local network. The Synology NAS directory is addressed via a drive letter + path.

Code suspected to be the problem: FileUtils.vb

Imports Alphaleonis.Win32
    ''' <summary>
    ''' If the path is long (>250 chars) then shorten it to a 8.3 path, otherwise return the regular path
    ''' </summary>
    ''' <param name="dir">Absolute/Relative/Long/Regular path</param>
    ''' <returns></returns>
    ''' <remarks>MAX_PATH = 260 (248 directory max + \ + 12 file name). Safe: 250 = 248+\+1</remarks>
    Public Shared Function Get83PathIfLong(ByVal dir As String) As String
        If dir.Length > 250 Then
            Return Filesystem.Path.GetShort83Path(dir)
            Return Filesystem.Path.GetRegularPath(dir)
        End If
    End Function

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 10 hours [ DST ]

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: