It creates mp3.lst in D:\Music.
The file contains nothing.
Sounds like it doesn't find (the right) Locate program. Strange! Maybe
you have another Locate in an earlier directory of the search path.
Try to execute this:
command /c locate /? > D:\Music\test.lst
* If the resulting file is still empty: The OS can't find any Locate
program at all.
Solution: Use the full path to Locate.com (all of the following command
has to be on one line!):
command /c c:\programs\locate\locate.com D:\Music\*.mp3 /O:"&V" | sort > D:\Music\mp3.lst
This sample assumes, you installed Locate.com inside C:\Programs\Locate\.
* If the resulting file contains the correct help:
| LOCATE.COM v1.31 2003-12-09 C. Dye (e-mail address removed)
| Freeware. Copyright 1995-2003, Charles Dye. No warranty!
[...]
I have no clue, where the error might be. :-(
* If the resulting file contains wrong help texts: You have another
Locate program earlier in your search path.
Solution: Use again the full path to Locate.com
Although you have solved your original problem another way
(Steven Burn), you should still try to sort out, why the Locate
program didn't work. This could be a severe setup problem,
which might show off on many other occasions.
BeAr