Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Turing --> CMD
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
eNc




PostPosted: Thu Nov 04, 2004 9:44 pm   Post subject: Turing --> CMD

Is there a way to make turing execute cmd commands ?
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Thu Nov 04, 2004 9:50 pm   Post subject: (No subject)

Sys.Exec a batch file
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
wtd




PostPosted: 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.
eNc




PostPosted: 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 ?
Delos




PostPosted: Fri Nov 05, 2004 12:54 pm   Post subject: (No subject)

API == application program interface

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




PostPosted: Fri Nov 05, 2004 12:59 pm   Post subject: (No 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.
wtd




PostPosted: Fri Nov 05, 2004 2:11 pm   Post subject: (No 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.
Flashkicks




PostPosted: Fri Nov 12, 2004 10:50 am   Post subject: (No 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!!
Sponsor
Sponsor
Sponsor
sponsor
templest




PostPosted: Fri Nov 12, 2004 11:10 am   Post subject: (No 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
Hikaru79




PostPosted: Fri Nov 12, 2004 5:45 pm   Post subject: (No 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....
Andy




PostPosted: Fri Nov 12, 2004 5:48 pm   Post subject: (No subject)

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




PostPosted: Fri Nov 12, 2004 5:55 pm   Post subject: (No 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 =/
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 12 Posts ]
Jump to:   


Style:  
Search: