Results 1 to 6 of 6

Thread: What language to use to traverse file

  1. #1
    Join Date
    Jun 2009
    Posts
    96

    What language to use to traverse file

    As part of a project I have put in place a program that will traverse all files in a folder (including subfolders) to register all the names in a list. Then must I display the list a bit like a library i-tunes or media player. The operator can select sort by date, author, etc. ...

    My question is: what language to use?

    The html I could use to display (just with a table and 2 buttons). But I think the html lacks interactivity.
    The PHP will be complicated to implement because it's local. (so no server).
    The Vb, but I do not know whether a compiler will be available in my room TD.
    I do not know C (ok I promised myself is!), Or any other programming language.

    I want to program a 100% reliable, not necessarily fast, running on most machines (programming can be done under Linux).

  2. #2
    Join Date
    May 2008
    Posts
    685

    Re: What language to use to traverse file

    My answer: VBS (VB Script).

    - It is available on all Windows 7, XP, NT, etc., until even Windows 95 (there are some variations in versions for what is requested, it goes well with earlier versions).
    - It is able to explore the file tree, which is not possible with other languages that are executed from a page (JavaScript, etc) because they are barred for security reasons (except using some tricks like ActiveX, but with the approval of the sales person, etc..).
    - It is simpler than C and other languages that can do that too.

    My second choice would be the C language, since it is possible that what is sought is not easy to do VBS. The project is not described in detail, but I fear that, for example, necessary to read the tags of media files.

    My third choice would be AutoIt, but it must be installed.

  3. #3
    Join Date
    May 2008
    Posts
    2,389

    Re: What language to use to traverse file

    If you do not need something compiled, perl should be good enough for all the functionality of course, selection and sorting (except if you want to display the windowed, in which case it will be a bit of perl-tk )

  4. #4
    Join Date
    Nov 2008
    Posts
    1,054

    Re: What language to use to traverse file

    I too suggest to go for AutoIt

    But there's no reason to remove the PHP, even for local use:
    - It can run without web server command line (like: php.exe c: cheminScript.php
    - With a server, even locally, there's WampServer or EasyPHP
    - You can create one .exe from a web application coded in php. Basically, it puts in one .exe or tone your scripts + php interpreter and DLLs.

    Moreover, doing this kind of application in php this big interest is a good laptop nb OS (Windows, Linux ...).

  5. #5
    Join Date
    Jun 2009
    Posts
    96

    Re: What language to use to traverse file

    Thank you for your answers! As this project will be used in an enterprise, I require that the program does not commit the company to legal penalties.

    The problem with the PHP server is started it must be ...

    I'm still studying the project. An excel file can be updated through macros. (may be combining a database and an Excel file).

  6. #6
    Join Date
    Nov 2008
    Posts
    996

    Re: What language to use to traverse file

    No no, PHP does not need to be installed as a server. PHP also works like any other shell, the syntax has been rufo.

    One can well imagine a PHP script that generates HTML pages (personally, I find a RSS XML combined with CSS is cleaner), we can then open a web browser.

Similar Threads

  1. Reading some file using C language
    By Vaikuntam in forum Software Development
    Replies: 9
    Last Post: 01-09-2012, 02:13 PM
  2. Help to search the file in the C++ language using function
    By Gaauge in forum Software Development
    Replies: 5
    Last Post: 16-02-2010, 05:17 PM
  3. East Asian Language file missing
    By Jerry Qu in forum Windows Server Help
    Replies: 1
    Last Post: 09-10-2009, 11:20 PM
  4. Traverse a folder without permission?
    By PeteC in forum Windows Server Help
    Replies: 7
    Last Post: 22-08-2009, 12:51 AM
  5. Replies: 1
    Last Post: 05-08-2008, 09:50 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,857,020.17413 seconds with 16 queries