I faced the same problem, but I found another solution without having to modify my batch script.
The only thing that I missed out is at the ‘Action’ settings – “Start in (Optional)” option.
Go the task properties –> Action tab –> Edit –> Fill up as below:
- Action: Start a program
- Program/script: path to your batch script e.g.
C:\Users\beruk\bodo.bat
- Add arguments (optional): <if necessary – depending on your script>
- Start in (optional): Put the full path to your batch script location e.g.
C:\Users\beruk\
(Do not put quotes around Start In)
Then Click OK
It works for me. Good Luck!
Related Posts:
- ng is not recognized as an internal or external command
- How Should I Set Default Python Version In Windows?
- Access is denied on mklink
- batch file from scheduled task returns code 2147942401
- how to empty recyclebin through command prompt?
- IIS 7.5 (Windows 7) – HTTP Error 401.3 – Unauthorized
- What does “@” mean in Windows batch scripts
- Can’t connect to MySQL server on ‘localhost’ (10061) after Installation
- Can’t connect to MySQL server on ‘localhost’ (10061) after Installation
- What does %~dp0 mean, and how does it work?
- ” is not recognized as an internal or external command, operable program or batch file
- My C# application is returning 0xE0434352 to Windows Task Scheduler but it is not crashing
- What does %~dp0 mean, and how does it work?
- The request was aborted: Could not create SSL/TLS secure channel
- ‘adb’ is not recognized as an internal or external command, operable program or batch file
- Create an empty file on the commandline in windows (like the linux touch command)
- How to solve “The directory is not empty” error when running rmdir command in a batch script?
- The request was aborted: Could not create SSL/TLS secure channel
- Rainbow Matrix CMD
- How do I create a Batch file to change an exe installer to Win XP SP3 compatibility mode and launch installer
- The request was aborted: Could not create SSL/TLS secure channel
- ” is not recognized as an internal or external command, operable program or batch file
- Difference between xcopy and robocopy
- How to “comment-out” (add comment) in a batch/cmd?
- How to schedule a periodic task in Java?
- How to capture cURL output to a file?
- Bat file to run a .exe at the command prompt
- Windows 7 Symbolic Link – Cannot create a file when that file already exists
- Batch script loop
- “npm config set registry https://registry.npmjs.org/” is not working in windows bat file
- Windows Activation Batch (.cmd File
- How To Activate Windows 10
- Color echo in batch files
- Moving file using cmd?
- where does Silverlight app’s executable/assembly/whatever actually get installed on my hard drive?
- Can’t start hostednetwork
- How can I pass arguments to a batch file?
- How to “comment-out” (add comment) in a batch/cmd?
- Windows Scheduled task succeeds but returns result 0x1
- “if not exist” command in batch file
- IO Error: The Network Adapter could not establish the connection
- Taskkill /f doesn’t kill a process
- Telnet is not recognized as internal or external command, even after activation
- Defining and using a variable in batch file
- Sleep/Wait command in Batch
- How to run PowerShell in CMD
- What is the current directory in a batch file?
- xcopy returns error “Invalid number of parameters” when exclude parameter is set
- Batch file to copy directories recursively
- How to change current working directory using a batch file
- Setting up a cron job in Windows
- While loop in batch
- Invalid drive specification using XCOPY
- XCOPY: Overwrite all without prompt in BATCH
- Curl not recognized as an internal or external command, operable program or batch file
- Split text file into smaller multiple text file using command line
- Command Prompt Error ‘C:\Program’ is not recognized as an internal or external command, operable program or batch file
- Batch file to copy files from one folder to another folder
- Redirecting Output from within Batch file
- How to send a simple email from a Windows batch file?
- How can I run a program from a batch file without leaving the console open after the program starts?
- How to sleep for five seconds in a batch file/cmd
- What does /p mean in set /p?
- Can’t start hostednetwork
- Why am I getting ImportError: No module named pip ‘ right after installing pip?
- What does “Can not obtain ownership information” in Netstat -ab mean?
- False ‘Sharing Violation’ Xcopy error message
- How do I execute cmd commands through a batch file?
- Create a function with optional call variables
- How does the echo command works in batch programming
- In Windows cmd, how do I prompt for user input and use the result in another command?
- CALL command vs. START with /WAIT option
- How can I download a file with batch file without using any external tools?
- BAT file to map to network drive without running as admin
- TTS Voices for Windows7 64 bits
- Need auto-restart script in batch for minecraft server
- How to use random in BATCH script?
- ld.exe: cannot open output file … : Permission denied
- wget not recognized as internal or external command
- Windows batch – concatenate multiple text files into one
- How do I change the default location for Git Bash on Windows?
- Batch – If, ElseIf, Else
- How to set commands output as a variable in a batch file
- Batch command for ImageMagick to convert all files in a directory and sub-directories on windows
- How to fix “ERROR: The system was unable to find the specified registry key or value.” when running a batch file
- Best practice for exiting batch file?
- “Permission Denied” using cygwin in Windows
- Any benefit or detriment from removing a pagefile on an 8 GB RAM machine?
- How to sleep in a batch file?
- How to make Windows 7 USB flash install media from Linux?
- Send Ctrl-Alt-Del to nested RDP session
- How to delete cached temporarily credentials for a network share on a Windows machine without rebooting or logging off [duplicate]