Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2008

    Question Listing files in c:\\sys\\bin

    I want to list the files (.exe) in c:\\sys\\bin folder.

    	QDir m_ContentDir;
    	QFileInfoList fileList = m_ContentDir.entryInfoList(QStringList(), QDir::AllEntries | QDir::Executable, QDir::Time);
        int count = fileList.count();
    Now the problem is that count is always zero for c:\\sys\\bin folder. I've checked the c:\\sys\\bin folder and quite obviously its not empty.

    I've tried with QFileDialog too, but its showing that the folder is empty.
    So can anybody propose any workaround?
    Thnx in advance

  2. #2
    Registered User
    Join Date
    Dec 2006

    Re: Listing files in c:\\sys\\bin


    C:\sys\bin is protected by Platform Security. To read the contents you need AllFiles capability and to write to it you need TCB - these capabilities can only be granted by the device manufacturer (and will not be granted in most cases).

    What sort of application are you trying to develop?


Similar Threads

  1. missing header files from FP1 SDK & Plug-ins.
    By ruchirvasavada in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2008-09-08, 20:54
  2. Problem N95: listing local files
    By R.Guerra in forum Mobile Java General
    Replies: 2
    Last Post: 2008-08-29, 16:40
  3. where do installed files 'inside' a .sis go?
    By wormangel in forum Symbian
    Replies: 3
    Last Post: 2008-08-11, 10:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts