+ 6
What command prompt can do and what code does it used?
24 odpowiedzi
+ 11
The command prompt do some basic operations such as
1)printing date
2)printing the hostname
3)shutdown the computer
4)finding the files
5)displaying OS version
Cmd also performs network related operations such as
1)checking MAC address
2)working with FTP server
3)to see IP network settings
4)to see TCP/IP connections and configurations
5)ping the network
6)to work on TFTP server
7)to work with TELNET
etc etc
By using cmd we can also perfom basic file operations and media operations etc etc
+ 7
Hi P.Hacker,
Command Prompt in Windows 10 is used to perform tasks like automation, troubleshooting, giving advanced commands and much more. The language used in Command Prompt is called DOS batch language.
+ 4
This question can be improved by tagging 'ms-windows cmd-interpreter' rather than 'what can' 👍
+ 4
P.Hacker Yes, you can use Command Prompt to solve your PC issues.
Just a few days ago my Windows 10 ran into problems (blue screen 😭), and I used Command Prompt to fix it and get my data back.
Your question could be clearer though...
+ 3
P.Hacker You are asking about finding ip adresses, but your question is unclear. Are you asking if you can use cmd to search a network for ip adresses? If so, you can use a tool like nmap.
+ 3
helo😂❤️😅
+ 2
P.Hacker Yes; this might be useful...
https://smallbusiness.chron.com/use-cmd-ip-54258.html
+ 2
1)In JAVA we can compile the java code by using "JAVAC" command which means java compiler
Example:
yourcode.java
//in java your class name must your code name
public class yourcode{
public static void main(String[] args){
System.out.println("hello");
}}
compilation on cmd:
$Javac yourcode.java
Javac:command to compile
Next we will get the class file
yourcode.class
2)Execution of java code on cmd:java yourcode
output on cmd:hello
java:command to execute
During execution no need to use.class along with your code name
In java we can pass arguments to the code through the command prompt we have specify like this
args[0]
args[1]like this
+ 2
if i use command CONVERT, what will be happens?
+ 2
P.Hacker In the windows command prompt and powershell, convert is used to convert fat32 filesystems to ntfs. The command has no effect in bash.
+ 1
so can we use it for get IP device?
+ 1
Ok but can we search IP by it?
+ 1
Mehedi Ferdous 🇧🇩 This has nothing to do with javascript.
+ 1
Can i solve my computer by command prompt?
+ 1
P.Hacker pleas google first before asking for help. If you still don't understand something after searching on the internet feel free to ask here.
If you want people to help you, you have to ask specific questions, discribe what you want to know and where you have problems.
"Can i solve my computer by command prompt?" is not a good question. What do you mean by "solve"? Please provide more information.
+ 1
Mehedi Ferdous 🇧🇩 Did I ever give any indication I didnt know what the JS console is? I dont think so.
+ 1
Mehedi Ferdous 🇧🇩 You clearly dont understand the question. No one calls the JS console the “command prompt.” I can also tell from his later repsonses that he isnt talking about the js console.
0
VAMSI explained good what you can do with a Terminal.
Unix like terminals (Linux, MacOS) serve the same purpose as Windows, but uses different tools and a different scripting language, called bash.
Here is a great list of commands with short explanations: https://www.ubuntupit.com/best-linux-commands-to-run-in-the-terminal/
Information to control structures(e.g. If, else, ... ) :
https://program-script.com/bash/control-structures/
- 1
JavaScript uses prompt to get user input.
- 2
.-.