
April 21st, 2008, 11:00 AM
|
|
|
|
Script or .bat (.cmd) file needed
On a windows server I'd like a script or .bat file or .cmd file
to accomplish this:
1. Automatically watch a folder.
2. When any file arrives, automatically create a directory using the file name as the new directory name. Created at: Domain/Folders/filename/file
3. Automatically create a file named download.html, with this in this file:
<html>
<body>
<a href="http://domain name/Folders/filename/file>filename</a>
</body>
</html>
4. Automatically store download.html in Folders/filename
5. Automatically copy file from Watched Folder to C:/Output
6. Automatically delete file from Watched Folder
|