Skip to content

Commit

Permalink
Removed a dead link
Browse files Browse the repository at this point in the history
Old versions of the project are no longer available at softagalleria.net
  • Loading branch information
tronkko authored and Toni Rönkkö committed May 8, 2018
1 parent b16f263 commit 65a5551
Showing 1 changed file with 32 additions and 18 deletions.
50 changes: 32 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ provides Linux compatible Dirent interface for Microsoft Windows.
# Installation

Download the latest Dirent installation package from
[GitHub](https://github.com/tronkko/dirent/releases).
Older versions can be found at
[softagalleria.net](http://softagalleria.net/download/dirent/?C=M;O=D).

Unpack the installation file with 7-zip, for example. The installation
package contains dirent.h file as well as a few example programs.
[GitHub](https://github.com/tronkko/dirent/releases) and
unpack the installation file with 7-zip, for example. The installation
package contains dirent.h file as well as a few example programs and
tests.


## Install Dirent for All Programs
Expand All @@ -38,27 +36,43 @@ dirent.h on Linux/UNIX while substituting the functionality on Microsoft
Windows.


## Building Example Programs
## Examples

The installation package contains four example programs:

Program | Purpose
-------- | -----------------------------------------------------------------
ls | List files in a directory, e.g. ls "c:\Program Files"
find | Find files in subdirectories, e.g. find "c:\Program Files\CMake"
updatedb | Build database of files in a drive, e.g. updatedb c:\
locate | Locate a file from database, e.g. locate notepad.exe

The installation package contains some example programs and tests under
the directories examples and tests. To run these programs, install
[CMake](https://cmake.org/).
To build the example programs, install [CMake](https://cmake.org/).
Then, open command prompt and create a build directory as

```
c:\
mkdir temp
mkdir temp\dirent
cd temp\dirent
```

Open command prompt, navigate to dirent directory with cd and generate
build files as
Generate build files as

```
cmake .
```

Load the generated dirent.sln file into Visual Studio and build the
solution. Run the example programs from command prompt as
Open Visual Studio, load the generated dirent.sln file from the build
directory and build the solution. Once ready, you can run the example
programs from the command prompt as

```
Debug\updatedb c:\
Debug\locate cmd.exe
Debug\ls .
Debug\find .
cd Debug
ls .
find .
updatedb c:\
locate cmd.exe
```


Expand Down

0 comments on commit 65a5551

Please sign in to comment.