0
How to access the Command line interface directly from this programming languages?
To work directly with the operating system, placing commands from a language
10 Respuestas
+ 2
its possible to execute the system command like dir, ipconfig, in linux touch ,mkdir using c and it depends on language because some gives its own functionality to deal with system but user can directly execute itself in c/c++ using system() its pososible and in python using os.system and call module for linux / windows. interface depends how program is designed
+ 2
how to give command line arguments in SoloLearn
+ 2
it's not about sololearn at here and CLI doesn't need to be argument with it for execution of programs. And if there are arguments then by user inputs it can be append/attached with command using variable in SoloLearn also there is no need for extra cli interface because the execution of command will in system() so user input or argument can append in there.
+ 1
@raj I used C language to access CMD using system() ...anything is possible??
+ 1
@piyush Thanks a lot
0
not possible here Samuel, I tried but I m open to suggestions
0
share it, how to do Samuel
0
@neetish system(" dir "); .........you can pass a command line language into your system () in double quote to access command line administrator's privileges
- 1
@samuel show us how, that would be great
- 1
thx Samuel , gonna try will reply back if troubled