Announcement

Collapse
No announcement yet.

Zipping a file, file not found

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Zipping a file, file not found

    path C:\Program Files (x86)\7-Zip

    7z.exe a TEST_AmsDb.zip amsdb.mdb

    This works on XP machines, and it works when running the batch file from location, but does not work when run from a scheduled task.

    When it runs from the scheduled task, it says that it cannot find the file?

    Any ideas?

    Thanks in advance

  • #2
    Re: Zipping a file, file not found

    Where is the input file located?
    Tom Jones
    MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
    PhD, MSc, FIAP, MIITT
    IT Trainer / Consultant
    Ossian Ltd
    Scotland

    ** Remember to give credit where credit is due and leave reputation points where appropriate **

    Comment


    • #3
      Re: Zipping a file, file not found

      It is in C:\FTP\

      Comment


      • #4
        Re: Zipping a file, file not found

        Change it to

        Code:
        "C:\Program Files (x86)\7-Zip\7z.exe" a c:\FTP\TEST_AmsDb.zip c:\FTP\amsdb.mdb

        Comment

        Working...
        X