Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: list of all stata commands (getcmds)


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: list of all stata commands (getcmds)
Date   Fri, 2 Mar 2007 10:52:41 -0000

All user-written Stata commands and all user-written Stata commands 
installed on your system are different stories. 

What is in your c:\ado is between you and your operating system 
(not stated here, but evidently Windows), but Stata can give
you a handle on them. 

I can't comment on what you did to modify -getcmds- that "didn't
work", but you could use -fs- from SSC to get a list of *.ado. 
Printing the names one at a time arose a few days ago in a 
different thread. 

fs *.ado
foreach f in `r(files)' { 
	local f : subinstr local f ".ado" "" 
	di "`f'"
}

You could do this while logging. However, this could include
-egen- function files that are not valid names used directly. 

Nick 
[email protected] 

Trelle Sven

> I need a list of all Stata commands (standard and user-written
> ado-files). The getcmds-command only shows me the standard commands
> (stored in the stata program folder) but not the user-written 
> ado-files
> (stored in C:/ado). I tried to modify the getcmds ado-file 
> but it didn't work.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index