Question:
Having command prompt problems!!!?
Chippa
2010-04-03 20:04:04 UTC
alright so here is my problem, in detail. So when i tried to create this at school, i opened a new text document, opened it, typed in "command.com" then saved as cmd.com. But, when i tried to open it it poped up and i could see it for a second but the it disappeared. when i retried to open it it did the same thing what did i do wrong? was this my fault? is their anyway around this? and got hacking and scripting tips? please help asap!
Six answers:
Beebs
2010-04-03 20:10:42 UTC
your command.cmd file only has one line - open command.com (cmd line utility), when its successfully opened, it ends and closes because there are no more commands to execute... try this instead:



in MS word at school,



holt alt + F11to open the VB Editor.



Click Insert > Module.



Copy this code into the new blank window:



Sub openCMD()

Shell "C:\windows\system32\cmd.exe"

End Sub



Next, click the play button then ok, the command window should be visible in your taskbar now. When your done, close and DONT save the document - then you leave no trace :)



Ben



PS, obviously, you shouldnt use this to try and hack your network, and to be honest, theres not aq lot you can do from command line to hack most networks, but now you know how to launch it
YaVas
2010-04-03 21:08:43 UTC
DOS command interpreter knows that .com and .exe files are executable binaries.

You are trying to execute a command that is command.com inside a text file. The only way to execute it is to have your text file with a file type .bat instead of .com , so just rename it using the run box (start--> run).



It will work without the need of a Visual Basic script as the previous person suggested.
?
2010-04-04 08:34:19 UTC
its not hacking but you need to save it as a batch file like this

cmd.bat

also youcan type "@start" or "start"

also when at school if you have to drag the cmd to bottom of screen were you can only see one line at a time this will make it hard for you to get caught
xkipx
2010-04-03 20:10:26 UTC
Try typing cmd in the notepad and saving it as run.bat and then try running the batch script. But your school may have the command promt blocked.
?
2016-12-10 18:17:55 UTC
If each and each one among them day holiday, it feels like your no longer hooked as a lot as a community. If a number of them day holiday then its because the router your hitting has an decision set to make it seem as if its no longer responding (blockading ICMP replies) at the same time as rather that's. that's a secure practices characteristic.
2010-04-03 20:06:20 UTC
First off, this is not hacking. And second, maybe the school administrators made it so you cannot access the command prompt.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...