Jump to content


ahtshun83

Run bat file using SCCM 2007

Recommended Posts

Hi All,

 

I trying to run a simple bat file via SCCM 2007. However I couldnt make it run on client machine.

This is my bat file

 

@ECHO OFF
ECHO %0
PAUSE

Under command line, i did try cmd.exe /c batfile.cmd. i also configured to run program from DP.

Anyone can assist me?

 

 

Share this post


Link to post
Share on other sites

Have you tried the simpliest way without "cmd.exe" ?

 

batfile.cmd or batfile.bat

I did try without cmd.exe on .cmd file and it failed.

 

 

I just tried without cmc.exe on .bat file and it throw me error " The pogram cannot be run because the program file cannot be found".

 

I checked..all the files are present.

Share this post


Link to post
Share on other sites

- Your batfile.cmd is present at the root of your "source" package folder ?

 

- Are your sources replicated to your DP's ?

Yes at the root of the package. I did distribute to DP.

 

I tried both settings

- configured to run program from DP

- download from DP and run program locally.

 

Both settings didn't work

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.