Help creating an executable for this....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chrisj
    New Member
    • Apr 2008
    • 2

    Help creating an executable for this....

    What I need is this:

    1. Watch a folder.
    2. When any file arrives, create a directory
    (using the file name as the new directory name. Created at: Domain/Folders/filename/file)

    3. Create a file named download.html, with this in this file:
    html
    body
    a href = http : // Domain/Folders/filename/file
    body
    html

    4. Store download.html in Folders/filename

    5. Copy file from Watched Folder to C:/Output

    6. Delete file from Watched Folder

    Can this be done with an executable and a scheduler?
    If so, can someone help me with an executable, please?

    thanks
  • harshadd
    New Member
    • Dec 2007
    • 180

    #2
    Originally posted by chrisj
    What I need is this:

    1. Watch a folder.
    2. When any file arrives, create a directory
    (using the file name as the new directory name. Created at: Domain/Folders/filename/file)

    3. Create a file named download.html, with this in this file:
    html
    body
    a href = http : // Domain/Folders/filename/file
    body
    html

    4. Store download.html in Folders/filename

    5. Copy file from Watched Folder to C:/Output

    6. Delete file from Watched Folder

    Can this be done with an executable and a scheduler?
    If so, can someone help me with an executable, please?

    thanks
    This can be done in VB /VFP / VBS/ or even with pure DOS.(cmd.exe of XP)
    But it seems you are trying to hold your own nose by putting your hand around your own neck. It will helpfull for any one to help you if you tell us your requirement (I mean why you want to do this.) One can suggest a simple way to do this.

    Comment

    Working...