Here is program to list a single directory and also filter files listed by input and by extension, whether executable files or unknown file types or known file types.
The command line can contain only a directory(c:\pbwin80) or a directory with wildcard files(c:\pbwin80\*.bas"
This program maybe could make a good file retriever if altered.
The original idea was to list files to be opened by another program where file types are known and used.
This is the first good jab at such a program for me.
Hopefully the next version will include either more command line options or
make use of environment variables.
I have yet to put in the date and time of the files, which i wanted to get the main part of the program running first.
The program uses environment variable "PATHEXT" to determine executable extensions. Also the program checks for a environment variable "EXEEXTENSIONS" you can set with to have additional executable extensions no in the environmental variable "PATHEXT".
I have not made up mind on using environmental variables extensively to define variables for this program, but it may seem like a good choice unless somebody else changes my mind.
It would be nice to get a listing of multiple particular file listing only, an example would be if you had word and pdf and rtf files in a directory with other files, you could select something like ".DOC .PDF .RTF" as a filter to keep only those files in the listing and exclude all other files.
once this program is done, i want to have a program to retrieve files from directories.
this liisting does not have a version in it but i will add one to the website
this will be 1.01
you can get the newest version of the program at
http://pdptemp.dyndns.org/zipcode
The command line can contain only a directory(c:\pbwin80) or a directory with wildcard files(c:\pbwin80\*.bas"
This program maybe could make a good file retriever if altered.
The original idea was to list files to be opened by another program where file types are known and used.
This is the first good jab at such a program for me.
Hopefully the next version will include either more command line options or
make use of environment variables.
I have yet to put in the date and time of the files, which i wanted to get the main part of the program running first.
The program uses environment variable "PATHEXT" to determine executable extensions. Also the program checks for a environment variable "EXEEXTENSIONS" you can set with to have additional executable extensions no in the environmental variable "PATHEXT".
I have not made up mind on using environmental variables extensively to define variables for this program, but it may seem like a good choice unless somebody else changes my mind.
It would be nice to get a listing of multiple particular file listing only, an example would be if you had word and pdf and rtf files in a directory with other files, you could select something like ".DOC .PDF .RTF" as a filter to keep only those files in the listing and exclude all other files.
once this program is done, i want to have a program to retrieve files from directories.
this liisting does not have a version in it but i will add one to the website
this will be 1.01
you can get the newest version of the program at
http://pdptemp.dyndns.org/zipcode
Code:
program changed see next post
Comment