Solved

Windows server 2008 R2 - Task Scheduler 0x1 when running batch files

Posted on 2011-09-15
4
2,210 Views
Last Modified: 2012-05-12
I have a Windows server 2008 R2 server that I am trying to get a command / batch file to run in a scheduled task.
I have read on the net that there is a problem with command / batch files that contain quotation marks in command line and arguments.
I can run other command / batch files from Task Scheduler that don't have quotation marks and they run fine, but in this instance I need to be able to run a command line that has got.

Does anyone know of a fix or work around to be able to schedule these tasks?
0
Comment
Question by:bax2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 36544022
You need to create a batch file that calls up the other batch file this should bypass the problem.
0
 

Author Comment

by:bax2000
ID: 36547811
I did try that, but got the same results.
0
 
LVL 59

Accepted Solution

by:
Darius Ghassem earned 250 total points
ID: 36549015
You created a batch file that calls up the other batch file with same results?  Did you go to options and make sure you have the Start in option configured?
0
 

Author Closing Comment

by:bax2000
ID: 36923139
Start in option helped.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question