none
UpdatusUser (who is ??)

    Question

  • I installed Windows 7 Home Premium 64 bit, from DVD,  I have an unusual, "User Account" that was created by Windows, I guess??

    Below is a bit of code I wrote in "FreeBasic for Windows Version 0.23"

    #include "dir.bi"  'Provides constants to use for the attrib_mask parameter

    redim shared as string Directories(0)
    redim shared as string Archives(0)
    redim shared as string Systems(0)
    '===============================================================================
    '===============================================================================
    Sub Get_Dirs()
        Dim filename As String
        filename = Dir( "*" , fbDirectory )
        Do
            Directories(ubound(directories)) = filename
            redim preserve Directories(ubound(directories)+1)
            filename = Dir( )
        Loop While Len( filename ) > 0
        redim preserve Directories(ubound(Directories)-1)
    End Sub
    '===============================================================================
    '===============================================================================
    Sub Get_Archives()
        Dim filename As String
        filename = Dir( "*" , fbArchive )
        Do
            Archives(ubound(Archives)) = filename
            redim preserve Archives(ubound(Archives)+1)
            filename = Dir( )
        Loop While Len( filename ) > 0
        redim preserve Archives(ubound(Archives)-1)
    End Sub
    '===============================================================================
    '===============================================================================
    Sub Get_Systems()
        Dim filename As String
        filename = Dir( "*" , fbSystem or fbHidden or fbReadOnly)
        Do
            Systems(ubound(Systems)) = filename
            redim preserve Systems(ubound(Systems)+1)
            filename = Dir( )
        Loop While Len( filename ) > 0
        redim preserve Systems(ubound(Systems)-1)
    End Sub
    '===============================================================================
    '===============================================================================
    '===============================================================================
    '===============================================================================
    chdir("C:\Users")
    Get_Dirs()
    Get_Archives()
    Get_Systems()

    open "C:\USB\FB-023\MY-FB-Programs\File-stuff\dirs.txt" for output as #1
        for a as integer = 0 to ubound(Directories)
            print #1, "DIR  = " ; Directories(a)
            print     "DIR  = " ; Directories(a)
        next
        for a as integer = 0 to ubound(Archives)
            print #1, "FILE = " ; Archives(a)
            print     "FILE = " ; Archives(a)
        next
        for a as integer = 0 to ubound(Systems)
            print #1 , "SYS  = " ; Systems(a)
            print      "SYS  = " ; Systems(a)
        next
    close #1

    SLEEP
    END

    '===============================================================================
    '===============================================================================
    'output from code above -> to "C:\USB\FB-023\MY-FB-Programs\File-stuff\dirs.txt"
    '===============================================================================
    '===============================================================================
    'DIR  = Albert-Redditt
    'DIR  = UpdatusUser
    'FILE =
    'SYS  = desktop.ini

    '===============================================================================
    'Aditional dirs not recorded by above code
    '.\All Users
    '.\Default User
    '.\Public
    '===============================================================================
    'What is the ".\UpdatusUser"  account ??? and why is, it and ".\Default User" there??

    Wednesday, July 18, 2012 8:28 AM