dworley Posted February 16, 2007 Report Share Posted February 16, 2007 Hello all,I am running Windows Server 2003, and using Automated Deployment Services (ADS). I would like to automate the use of an integrated command-line tool which is called "adsjob".From the command line (Run>command), I can simply type "adsjob" at the C:\ prompt and it works. Unfortunately, when I create a batch file it will not run this tool.e.g.:this works"run>commandC:\adsjob"this does notadsjob.batrun C:\adsjobI have also tried a .bat file that looks like this:c:adsjobBut that doesn't work either. Why is it that the .bat files won't work, but just typing at the command prompt does?Thanks,-darryl Quote Link to comment Share on other sites More sharing options...
Scarecrow Man Posted February 16, 2007 Report Share Posted February 16, 2007 You need to add .bat in your bacth file@echo offC:clsadsjob.batend Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.