+ 6

What command prompt can do and what code does it used?

16th Nov 2020, 2:27 PM
Programmer
Programmer - avatar
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
16th Nov 2020, 5:06 PM
VAMSI
VAMSI - avatar
+ 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.
16th Nov 2020, 3:02 PM
Rahul Hemdev
Rahul Hemdev - avatar
+ 4
This question can be improved by tagging 'ms-windows cmd-interpreter' rather than 'what can' 👍
16th Nov 2020, 3:19 PM
Ipang
+ 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...
17th Nov 2020, 2:01 PM
Rahul Hemdev
Rahul Hemdev - avatar
+ 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.
16th Nov 2020, 10:53 PM
Aria
Aria - avatar
+ 3
helo😂❤️😅
18th Nov 2020, 12:13 PM
Tyra Gustafsson
Tyra Gustafsson  - avatar
16th Nov 2020, 3:22 PM
Rahul Hemdev
Rahul Hemdev - avatar
+ 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
16th Nov 2020, 3:35 PM
VAMSI
VAMSI - avatar
+ 2
if i use command CONVERT, what will be happens?
18th Nov 2020, 1:07 PM
Programmer
Programmer - avatar
+ 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.
18th Nov 2020, 3:58 PM
Aria
Aria - avatar
+ 1
so can we use it for get IP device?
16th Nov 2020, 2:45 PM
Programmer
Programmer - avatar
+ 1
Ok but can we search IP by it?
16th Nov 2020, 3:07 PM
Programmer
Programmer - avatar
+ 1
Mehedi Ferdous 🇧🇩 This has nothing to do with javascript.
16th Nov 2020, 10:52 PM
Aria
Aria - avatar
+ 1
Can i solve my computer by command prompt?
17th Nov 2020, 1:25 PM
Programmer
Programmer - avatar
+ 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.
17th Nov 2020, 1:49 PM
R3dSt0ne
R3dSt0ne - avatar
+ 1
Mehedi Ferdous 🇧🇩 Did I ever give any indication I didnt know what the JS console is? I dont think so.
17th Nov 2020, 4:49 PM
Aria
Aria - avatar
+ 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.
17th Nov 2020, 8:05 PM
Aria
Aria - avatar
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/
17th Nov 2020, 11:46 AM
R3dSt0ne
R3dSt0ne - avatar
- 1
JavaScript uses prompt to get user input.
16th Nov 2020, 2:39 PM
Mehedi Ferdous 🇧🇩
Mehedi Ferdous 🇧🇩 - avatar
- 2
.-.
16th Nov 2020, 2:52 PM
Programmer
Programmer - avatar