Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Problem running a do-file with shell commands as a Scheduled Task in Windows


From   Morten Andersen <[email protected]>
To   Statalist <[email protected]>
Subject   Re: st: Problem running a do-file with shell commands as a Scheduled Task in Windows
Date   Fri, 15 Jul 2011 01:44:02 +0200

Hi,

I am the author of dirlist.ado (available at SSC) and I have unfortunately
no solution. Apparently this is a Windows problem, because -dirlist- can
be used without problems in a do file started in batch mode (Terminal or
shell command) with Stata 11.2 on Mac OS X.

In http://www.stata.com/statalist/archive/2010-01/msg00539.html Sergiy
Radyakin suggests "Authors of such user-written commands might want to
signal in the help file or package description whether the command is safe
to use in the Stata's batch mode".

Very reasonable - I will update the help file when I post a new version to
the SSC.

Best regards,

Morten Andersen


Den 14/07/11 17.52 skrev "Timothy O'Brien" <[email protected]>:

>I am having a problem running a do-file with shell commands as a
>Scheduled Task in Windows. Apparently shell commands do not work in batch
>mode (see "request ignored because of batch mode" - Statalist @
>http://www.stata.com/statalist/archive/2010-01/msg00539.html). I am using
>-dirlist- to capture file listings. Is there any way around this?
>
>Thanks.
>
>
>Confidentiality Notice: This message is intended only for the use of the
>individual or entity to which it is addressed. This communication may
>contain individual protected health information ("PHI") that is subject
>to protection under state and federal laws, or other privileged,
>confidential or proprietary information of AccessCare that may not be
>further disclosed. If you are not the intended recipient, or the employee
>or agent responsible for delivering this communication to the intended
>recipient, you are hereby notified that any dissemination, distribution
>or copying of this communication is strictly prohibited. If you have
>received this communication in error, please notify us immediately by
>replying to this message and deleting it from your computer. Thank you.
>
>*
>*   For searches and help try:
>*   http://www.stata.com/help.cgi?search
>*   http://www.stata.com/support/statalist/faq
>*   http://www.ats.ucla.edu/stat/stata/






*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index