+ Post New Thread
Page 2 of 2 FirstFirst 1 2
Results 21 to 28 of 28
  1. #21
    Full Member level 2
    Points: 1,192, Level: 7

    Join Date
    Mar 2016
    Posts
    147
    Helped
    0 / 0
    Points
    1,192
    Level
    7

    Re: FAT file system issue while reading the file

    Dear Brad,

    Type ATTRIB and the filename.

    Look for letters h,s,r,a.
    I wrote ATTRIB kp.jc5
    It replies: A I:\kp.jc5

    The letter is A.

    - - - Updated - - -

    Dear ads-ee,

    I am trying your suggestion and will update you in further short amount of time. Thanks for replying on my post.



    •   AltAdvertisement

        
       

  2. #22
    Super Moderator
    Points: 52,937, Level: 56

    Join Date
    Apr 2011
    Location
    Minneapolis, Minnesota, USA
    Posts
    12,948
    Helped
    2580 / 2580
    Points
    52,937
    Level
    56

    Re: FAT file system issue while reading the file

    Quote Originally Posted by RenesasT View Post
    Dear Brad,

    I wrote ATTRIB kp.jc5
    It replies: A I:\kp.jc5

    The letter is A.
    The A is for Attributes. It is followed by empty space, until the filepath name. This means none of its attributes are set.

    The Microsoft website has a tutorial about using this command under Windows XP. It should work in a similar manner for your OS.

    http://www.microsoft.com/resources/d....mspx?mfr=true



    •   AltAdvertisement

        
       

  3. #23
    Full Member level 2
    Points: 1,192, Level: 7

    Join Date
    Mar 2016
    Posts
    147
    Helped
    0 / 0
    Points
    1,192
    Level
    7

    Re: FAT file system issue while reading the file

    Dear Brad,

    I found, no attribute is assigned to thos files.
    So, do you mean , I should assign attribute and then use in my code? The text and xls files also does not have any attribute but they are working properly. Any changes in that?



    •   AltAdvertisement

        
       

  4. #24
    Full Member level 2
    Points: 1,192, Level: 7

    Join Date
    Mar 2016
    Posts
    147
    Helped
    0 / 0
    Points
    1,192
    Level
    7

    Re: FAT file system issue while reading the file

    Dear all,

    I think I have resolved my issue. Thanks for being with me.

    Special thanks to KlausST, Brad,FVM, ads-ee.

    You all made my day. Thanks a lot. Be with me always. I dont want to loose you guys. Love you all.

    Heartly Thanks.



  5. #25
    Super Moderator
    Points: 52,937, Level: 56

    Join Date
    Apr 2011
    Location
    Minneapolis, Minnesota, USA
    Posts
    12,948
    Helped
    2580 / 2580
    Points
    52,937
    Level
    56

    Re: FAT file system issue while reading the file

    Quote Originally Posted by RenesasT View Post
    Dear Brad,

    I found, no attribute is assigned to thos files.
    So, do you mean , I should assign attribute and then use in my code? The text and xls files also does not have any attribute but they are working properly. Any changes in that?
    For normal use your files should not have any attributes set. Nevertheless we ought to be aware of such things, in case something gets changed inadvertently.

    For instance, if you wonder if your file is invisible, or has the same name as an invisible file... You can see hidden files or system files, by typing the /a switch after the DIR command.



  6. #26
    Full Member level 2
    Points: 1,192, Level: 7

    Join Date
    Mar 2016
    Posts
    147
    Helped
    0 / 0
    Points
    1,192
    Level
    7

    Re: FAT file system issue while reading the file

    Well Thanks,

    As ads-ee asked for the solution. The solution is as below:

    Nothing to change , I just used LFN concept in my program.

    Thanks all guys.

    Special thanks to KlausST, Brad,FVM, ads-ee.

    Be with me always.



    •   AltAdvertisement

        
       

  7. #27
    Full Member level 2
    Points: 1,192, Level: 7

    Join Date
    Mar 2016
    Posts
    147
    Helped
    0 / 0
    Points
    1,192
    Level
    7

    Re: FAT file system issue while reading the file

    Dear All,

    I think I will need your help again. The thing is that, once pendrive is connected to my board, Immediately microcontroller should scan all files inside the pendrive and display all file names serially.

    Please comment your suggestions. Thank You.



  8. #28
    Full Member level 2
    Points: 1,192, Level: 7

    Join Date
    Mar 2016
    Posts
    147
    Helped
    0 / 0
    Points
    1,192
    Level
    7

    Re: FAT file system issue while reading the file

    Does this possible?



--[[ ]]--