Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6088203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:57:29+00:00 2026-05-23T11:57:29+00:00

I have a VBScript that does a number of tasks, including moving files from

  • 0

I have a VBScript that does a number of tasks, including moving files from one place to another.

Lots of copy/move/create folder/delete folder/delete files like this

Set filesys = CreateObject("Scripting.FileSystemObject")
filesys.CopyFile "D:\Test Now\test.txt", "W:\test_2\test.txt"

I’m able to get the entire script to work when I run it manually by double clicking it and no errors come up. However, when I run it from scheduled task an error is shown “Path Not Found”. I found this error by writing this error to a DB.

If

ON ERROR RESUME NEXT 

is off the script is stuck in that error. With it set to on, the script would skip the operations not carry out its function.

I’ve quadruple checked the paths to make sure its right. Is there something I should be aware of when running scripts with scheduled tasks?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:57:30+00:00Added an answer on May 23, 2026 at 11:57 am

    Are D:\ And W:\ local drives, or are they mapped network drives? If they’re mapped, the user running the process might not have those drives available. Be sure you run the task as a privileged local account. It’s also best to log in to that account and run the command manually. Once you verify that it works, then you can tighten up security if that’s a concern.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read around the net that its possible to debug VBScript WSH files
I have a VBScript script that takes 2 command-line arguments and does some validation.
We have an old process (VBScript) that reads a common mailbox and processes certain
I have to write something in vbscript that need to use a unique set.
I have been asked to create a vbscript that will set the default font
Does VbScript have a native implementation for Regex? I need to validate e-mail addresses
Given a variant, does VBScript have an equivalent of C#'s DateTime.TryParse method?
I have a VBScript script that runs a second VBScript script. The second VBScript
Does anyone have experience building a .NET test execution harness that can execute the
For many years I have had an objective of moving out of ASP/VBScript to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.