running batch file from asp

Results 1 to 3 of 3

Thread: running batch file from asp

  1. #1
    Join Date
    Dec 1969

    Default running batch file from asp

    This is no doubt a totally stupid question, but I&#039;ll ask anyway. <BR><BR>I have all my db files on my hosts server in one folder. I want to create a backup on the server of these files, and was looking into a method of doing this online rather than logging in via ftp and manually copying all of the files. <BR><BR>Would it be possible, using a batch file, or asp itself, to copy a folder and all of its contents, into another folder. So for e.g. something like:<BR><BR>copy all contents of db folder into a new folder called backup?<BR><BR>Fantastical stupidity on a vast scale I am sure, but you&#039;ve got to try!<BR><BR>Jim

  2. #2
    Join Date
    Dec 1969

    Default Ive not done it myself

    But isn&#039;t the answer to use WSH (windows scripting host) on the server.<BR><BR>Basically you schedule vbs file to run at the intervals you specify.<BR><BR>gorvy<BR><BR>

  3. #3
    Join Date
    Dec 1969

    Default WSH or AspExec by<eop>


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts