By Editing the Path of the File
It is a strong possibility that the main reason why the task is not being scheduled is because there is some glitch in the system you can resolve this glitch by simply rebooting the system but if this issue remains then you should replace the path reference for this, you will have to follow the below steps:
Step 1: Start the Task Scheduler
First of all, go to the start menu and search for the task scheduler and open it:
Step 2: Open the Task Scheduler Library
Now you will have to open the task scheduler library, Thento simply after clicking on the option to open it, as you can see in the image below:
Step 3: Open Task’s Properties
Now you will have to select the task that is giving you the error and right click on it and then select properties from the menu:
Step 4: Open the Actions Tab
After opening the properties section you will have to open the actions and then select the action named After“Start the program” After this, click on edit and move to the next step.
Step 5: Removing the Start in Functionality
Now you will see that there is an option named, clicking”Start in” and in the option,. Then you will see that there are quotes present so click on edit and remove it then save.
After completing this step simply restart your computer and then the directory name is invalid. This is error should be resolved, if it is still not resolved then you can follow the below methods as well.
Fix: The Directory Name is Invalid Error in Task Scheduler
The directory name is invalid is one of the most common errors that we may get when we use the task scheduler in WindowsWindows, this error can come even if you have a valid directory name and there are many reasons why this error happens in windows so if you are having similar error in your system then you can read this article and understand how to solve this error.
Table of Content
- The meaning of The Directory Name is Invalid Error
- 1. By Editing the Path of the File:
- 2. Delete and then add the task:
- 3. Changing directory permissions:
- 4. Running the chkdsk tool: