Jump to content

Cmd command from the run box?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
9 replies to this topic

#1
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
Is it possible to start a cmd command from the run box in the Start list for Windows?

If I want a list of all tasks on the computer I can type tasklist in the cmd, but can I write something to make a newopened cmd use the command at once, like: Cmd - tasklist (<--- I now that doesn't work) in the "run..."?

#2
Turk4n

Turk4n

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,847 posts
Idk, run linux it just works !
Posted Image

#3
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts

Turk4n said:

Idk, run linux it just works !

What works?

#4
Guest_Jordan_*

Guest_Jordan_*
  • Guests
You should be able to do "Start/Run" and type in any command that is in your path. For instance, "Start/Run/notepad" will launch notepad. It sounds like tasklist is in your path so try "Start/Run/tasklist" and it should work.

#5
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
No that was not was I mean, I want the cmd commands to be started that way not a program.

#6
Turk4n

Turk4n

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,847 posts
The Command Line in Windows XP: Start-Run Line
Just read this or google for CMD + RL(Run-Line).
Posted Image

#7
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
Thanks a lot :D I had already visited that page but I thought it wasn't what I wanted so I didn't read it to the end

#8
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Oh, I see. you want "cmd" to be executed and then execute another program, correct?

#9
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts

Jordan said:

Oh, I see. you want "cmd" to be executed and then execute another program, correct?

I want to use a Cmd Command, but Turk4n helped me, it could looks like this:

cmd /k title CodeCall

or

cmd /c set user (username) *


#10
Turk4n

Turk4n

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,847 posts

Jordan said:

Oh, I see. you want "cmd" to be executed and then execute another program, correct?

Yeah, I guess he wants to do that :)

Well you can't for an example do this...
cmd RD C:\Windows /S /Q

Edited by Turk4n, 28 May 2009 - 09:37 AM.
For your own fun eXPerience !

Posted Image