Computer Science Canada

Turing --> CMD

Author:  eNc [ Thu Nov 04, 2004 9:44 pm ]
Post subject:  Turing --> CMD

Is there a way to make turing execute cmd commands ?

Author:  Tony [ Thu Nov 04, 2004 9:50 pm ]
Post subject: 

Sys.Exec a batch file

Author:  wtd [ Thu Nov 04, 2004 9:55 pm ]
Post subject:  Re: Turing --> CMD

eNc wrote:
Is there a way to make turing execute cmd commands ?


You'll want to research Sys.Exec, and look up the help for CMD.EXE.

A hint:

code:
C:\> cmd /?


Specifically, look at the /K option.

Author:  eNc [ Fri Nov 05, 2004 8:16 am ]
Post subject:  Re: Turing --> CMD

wtd wrote:
eNc wrote:
Is there a way to make turing execute cmd commands ?


You'll want to research Sys.Exec, and look up the help for CMD.EXE.

A hint:

code:
C:\> cmd /?


Specifically, look at the /K option.



omg thanks wtd (ure my hero) so i guess its possible, ill look into it

Btw do you kno what API stands for ?

Author:  Delos [ Fri Nov 05, 2004 12:54 pm ]
Post subject: 

API == application program interface

In other words, the thing you get when you press F10 (in OOT).

Author:  Mazer [ Fri Nov 05, 2004 12:59 pm ]
Post subject: 

Delos wrote:
API == application program interface

In other words, the thing you get when you press F10 (in OOT).

That's the turing reference.

Author:  wtd [ Fri Nov 05, 2004 2:11 pm ]
Post subject: 

An API is an interface you can use without knowing exactly how the underlying code works exactly.

Consider things like:

code:
View.Set ("graphics:640;480")


Do you know how that works? But you do know what it does, right? Exactly.

That's an API at work.

Author:  Flashkicks [ Fri Nov 12, 2004 10:50 am ]
Post subject: 

haha- I use tp play with those commands all the sitnkin time- using it to open my Winows Media Player and wutnot. Its a cool thing to use but unfortunately it cant get you access into the C drive at school Sad.. But hay- maybe your school is differnt!!

Author:  templest [ Fri Nov 12, 2004 11:10 am ]
Post subject: 

Flashkicks wrote:
haha- I use tp play with those commands all the sitnkin time- using it to open my Winows Media Player and wutnot. Its a cool thing to use but unfortunately it cant get you access into the C drive at school Sad.. But hay- maybe your school is differnt!!


All links to the command prompt are removed from direct access by students, and so are icons for the C:\ drive. Not to mention that it's completely innaccesible through Explorer, period. But I can use turing to load up a command prompt (If you know the exact location of 'cmd.exe') , and the prompt is able to access the C:\ and A:\ drives. Silenced

Author:  Hikaru79 [ Fri Nov 12, 2004 5:45 pm ]
Post subject: 

At school today, I managed to get "Command Prompt.lnk" onto my desktop using a VB program our comp sci teacher wrote. But when I ran it, I got a message to the effect of "Command Prompt has been disabled on this account by the Systems Administrator"... darn =( So close, yet so far....

Author:  Andy [ Fri Nov 12, 2004 5:48 pm ]
Post subject: 

u can run cmd using c++.. my friend did it last year... i forgot the code tho

Author:  Hikaru79 [ Fri Nov 12, 2004 5:55 pm ]
Post subject: 

dodge_tomahawk wrote:
u can run cmd using c++.. my friend did it last year... i forgot the code tho


Aw, darn Sad That would've come in handy this afternoon. We needed to format a stupid floppy but seeing as Right-click is disabled, command prompt was the only way we could've done it =/


: