YoungManRiver
IS-IT--Management
I have a REXX procedure that does the following:
[ul]
[li]Map all local windows drives,[/li]
[li]Delete "somefile.txt",[/li]
[li]Run equiv to "dir *.* /s /b >> somefile.txt" for each drive,[/li]
[li]Read and filter "somefile.txt" to eliminate program and OS files,[/li]
[li]Load the File Results into "f_results.txt",[/li]
[li]Load the Dir Results into "d_results.txt",[/li]
[/ul]
I want to be able to dup this whole procedure in PHP, but can not find anything to:
[ul]
[li]Map the local windows drives,[/li]
[li]Read all the files including subdirs.[/li]
[/ul]
I've read everything I can find about mapping the drives for PHP and still know nothing. Also all the PHP scandir and simular commands just do not handle subdirectories right, so I loose files.
Does anyone have code that does these functions?
YMR
[ul]
[li]Map all local windows drives,[/li]
[li]Delete "somefile.txt",[/li]
[li]Run equiv to "dir *.* /s /b >> somefile.txt" for each drive,[/li]
[li]Read and filter "somefile.txt" to eliminate program and OS files,[/li]
[li]Load the File Results into "f_results.txt",[/li]
[li]Load the Dir Results into "d_results.txt",[/li]
[/ul]
I want to be able to dup this whole procedure in PHP, but can not find anything to:
[ul]
[li]Map the local windows drives,[/li]
[li]Read all the files including subdirs.[/li]
[/ul]
I've read everything I can find about mapping the drives for PHP and still know nothing. Also all the PHP scandir and simular commands just do not handle subdirectories right, so I loose files.
Does anyone have code that does these functions?
YMR