Computing.Net > Forums > Windows 2000 > CMD.EXE START ?c

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

CMD.EXE START ?c

Reply to Message Icon

Name: mundenp
Date: April 12, 2005 at 04:16:02 Pacific
OS: 2k SP4
CPU/Ram: n/a
Comment:

Hi,


Why is it that the START switch doesn't work when its used on a machine unattended i.e. the following command works fine when you are actually signed onto the box but if it's issued from a routine that's running in the background but when no one is actually signed on it doesn't work.

'C:\WINNT\system32\CMD.exe /c start "My Title" rexx.exe c:\mydir\myscript.rex'

The same happens with the scheduler. The above command never actually works unattended but if you are signed onto the box at the time the job is scheduled it runs absolutely fine.

Any ideas ?

Thanks
Paul



Sponsored Link
Ads by Google

Response Number 1
Name: wanderer
Date: April 12, 2005 at 12:06:15 Pacific
Reply:

run the script under a privledged account

In other words the scheduler service may not have sufficent rights to run the command.

Usually you would create a admin account with logon as service privs and run the scripts under that account.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: CMD.EXE START ?c

Cmd.exe how to start it? www.computing.net/answers/windows-2000/cmdexe-how-to-start-it/36395.html

cmd.exe & command.com mysteries www.computing.net/answers/windows-2000/cmdexe-amp-commandcom-mysteries/58745.html

Cmd.exe problem www.computing.net/answers/windows-2000/cmdexe-problem/44429.html