Solved

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

Posted on 2011-09-15
4
2,270 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
Suggested Courses

624 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