Solved

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

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

728 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