Create a small exe for a directory listing (with files sorted as they are in Explorer)

Closed Posted 7 years ago Paid on delivery
Closed Paid on delivery

Create a small, portable exe that can create a directory listing with the files ordered with the same sorting as they have in Windows Explorer.

I realised that the only way to get a list with the files in a directory, sorted the same way as they are in Explorer, is by using C++ (maybe using getSortColumns() and IFolderView2).

I'm a programmer but I don't know C++, so I'd like to pay someone for that script-like exe.

This is the exact functionality that the exe should have:

1. Be portable (requires no installation). To just include it in my app, run it and get a txt file.

2. Access the initialization arguments (parameter passed to the exe) to know which directory to read.

3. Extract a password from those arguments (just a few numbers). If the password is not found: end/exit.

4. Get a list with all the files in the directory (don't care about directories inside, just files).

5. Sort that list so that the order of those files represent the same order as the files in Windows Explorer (they might be sorted by name, date modified/created, type, etc)

6. Write a txt file in that directory with the sorted files separated by a line break.

7. Write a txt file in case of error, mentioning the error reason.

Important: Only consider this project if you already know how to get the current sorting of the files.

Also, when the files are photos, and they are sorted by date modified/created, Explorer reads the photo metadata (date taken) and alters the order. So the exe should also handle that (without loading the photos and reading the metadata. Just by reading how the files are sorted).

Operating systems: Windows 7 to 10

A few extra details:
-The executable should be lightweight.
-The executable should not depend on whether the directory is already open in Windows Explorer (nor open an instance of explorer.exe to access the file list). For instance, the user may open an image in my app via File, Open.., and in that case my app will receive a path, and it shouldn't matter whether the file explorer is open. With the file explorer open I can already use AutoHotkey to get collection := window.document.Folder.Items

C++ Programming

Project ID: #10403141

About the project

7 proposals Remote project Active 7 years ago

7 freelancers are bidding on average $42 for this job

Iamtuheedakram

hey i can do this thing since i am quite good in C++ with over 2 years of work experience in industry. i have worked on quite number of projects. i will deliver you quality work. i have read the details thoroughly and More

$111 USD in 2 days
(1 Review)
1.5
markelof

Hi, I can write it in C#. I'm carefully read your project description and everything is clear to me. Also I can create demo for you and if you be satisfied then you can pay for it. Contact me. Thanks in advance.

$19 USD in 1 day
(1 Review)
1.2
berdicnikola

Hi, my name is Nikola. I am good and hardworking. Currently I am an employee of an C#/Python based company. Here, on Freelancer, I've mostly done Java projects. Also, I am cheap and fast. You can look at my reviews an More

$50 USD in 1 day
(1 Review)
0.6
k122238mansoor

hi ! I am experienced in c++ and know how to make exe for files in c++ looking to hearing from you :) soon

$25 USD in 1 day
(0 Reviews)
0.0
vw7972806vw

This can be done easily. Let me know if not already done. I am working as C++ developer since 2010 but I am new here. So if you have low budget I am still good to go.

$15 USD in 1 day
(0 Reviews)
0.0
gustavonominato

A proposal has not yet been provided

$15 USD in 2 days
(0 Reviews)
0.0