You are not logged in.

#1 18 May 2007 10:27

ss64-Bean
Member
Registered: 18 May 2007
Posts: 1

Windows CMD line Shell

Hello  to all Specialists,
with greetings from a Newbee,hoping to get support.If  not,
I would'nt miss the opportunity to tell you what a nicely build
and logically architectured Web Site this is.  It's like walking
into a Super and not finding what I was looking for but still
consoling myself that "at least the surroundings were nice
and the smells were pleasant"...
My PC is equipped with a Windows XP Prof., Including also Scripting
Utilities among them, also the Windows XP CommandLine (CMD.EXE)
Shell. I am a retired Systems Analist and am quite familiar with programming. In the past I was using the DOS Batch . I find the  CMD
very similiar to it. I started to do some System Management routines
where I found out a few shortcoms of my CMD Shell, and then I found
your Web Site the http://www.ss64.com/nt/index.html  where I saw
an "A-Z Index of the Windows NT/XP Command Line". I saw there a
list of plenty of commands, most of them not recognised by my native
CMD.exe. For example the "TIMEOUT", the "SCRIPTIT", "SHORTCUT"
"ADDUSERS" and more, are not accepted. And what's even worse,my
CMD does't execute some of legitimate  "Abcd.EXE" Programs , even
if I place tne programs in the Root Directory , (in the C:\>) togather
with all the other boys like the Autoexec.bat, the CMD, Sysinit, etc.,
while other programs , like the Notepad.exe is OK . I execute it like
that:  C:\> cmd  /c Notepad.exe && dir && pause > Nul && Exit .
The above example functions OK.  But when I put the;
C:\> cmd  /c Abcd.EXE && dir && pause > Nul && Exit   This
Dosn't function. Are there two kinds of CMD's ?. Can you please
help me? Thank's    ss64-Bean

Offline

#2 18 May 2007 11:57

bluesxman
Member
From: UK
Registered: 29 Dec 2006
Posts: 1,129

Re: Windows CMD line Shell

Many, if not all, of those commands you mention are not native to any Windows OS.  They either come as part of a resource kit (as noted on the site pages for them) or some other download.  In the case of ScriptIt, it's very old, very cranky and no longer available at all from official sources.  Besides which, Auto-It is a much better (and extremely powerful) alternative -- furthermore it's still under active development and freely available.

Just throwing something into the root of C: is not necessarily going to make it executable from any location.  You might need to fully path them (e.g. "c:\abcd.exe") or add C:\ to your PATH environment variable.  Also, there's generally no need to be executing things with "cmd /c".  Try just "Abcd.EXE & dir & pause > Nul" or similar.  But without more specific information about what you're trying to achieve it's difficult to help.

Last edited by bluesxman (18 May 2007 12:00)


cmd | *sh | ruby | chef

Offline

Board footer

Powered by