|
|
Command Prompt Tips | ||
Discussion by soleimanian with 21 Replies.
Last Update: October 19, 2011, 12:11 pm | |||
How to change Command Prompt settings
You can easily change Windows Command Prompt settings, such as: Font, Font Size, Color, background, Buffer Size and …
To change Command Prompt, Right-click the title bar of the command prompt window, and select Properties. Here you can change command prompt settings.
How to copy text from a Command Prompt
1-Right-click the title bar of the command prompt window, click Edit> and select Mark.
2- Now, you can select the text you want to copy, just click and drag the cursor to select the text.
3- Right-click the title bar, click Edit> and select Copy.
4- Paste the text on your editor
How to open command prompt to a directory
You can open a command prompt to a directory that is selected in the Explorer
1- click start > Run > and type “regedit” (without quotes), to run Windows Registry Editor
2- find and go to following “HKEY_CLASSES_ROOT \ Directory \ shell”
3- Create a new key and name “Command”, and give it value of the name you want to appear in the Explorer
4- Under this key create a new key and name “command”, and give it value of cmd.exe /k "cd %L"
5- Now right click on a folder, select Open DOS Box, and a command prompt will open to the selected directory.
Tue Jan 24, 2006 Reply New Discussion
Hi -
Windows 2k/XP: Have been successful in changing the text and background color of the DOS box; however still have a blinking cursor in *white*...
Q: Is there a way (maybe via registry settings) to change the *cursor color* too..?
Thanks.
-question by Marty
Mon Apr 27, 2009 Reply New Discussion
I run a command to map another system.
net use xx.Xxx.Xx.Xxx /user:abcd abcd123@ >> log.Txt
From this iget "The command completed successfully." in the txt file however it want the time this command was executed do that I can keep a track on the same.
something like " May 09 2009 10:00:12 Am : The command completed successfully."
Kinldy help me if we can achive this.
Thanks in advance.
Kardiva
Sat May 9, 2009 Reply New Discussion
But the last one should be best run on a *.reg file so that headache free.
I created one so that if anyone wanna go with these.
Just double-click file and press yes.
The settings will enter into the system registry.
Fri May 29, 2009 Reply New Discussion
I find myself at the command prompt frequently and copy/paste is essential. You can set the preferences to more permanently facilitate copy/paste.
1. Right click the title bar and select properties.
2. On the Options tab check Quick Edit Mode.
3. Click OK.
4. A new window will appear asking how you would like to save these changes, select Save properties for future windows with same title.
Now when you need to copy something from the command line, use your mouse to make the selection (similar to selecting icons in Windows Explorer). Once you have what you want selected, hit the Enter key and it is saved to the clipboard. If you want to paste, right click the mouse and the clipboard will be pasted where the cursor is.
This method takes some getting used to but Ctrl+C cannot be used at the command line because it has the special property of issuing a break and stopping any current processing. Ctrl+C was in DOS well before the idea of copy/paste so it gets priority by virtue of time.
Fri May 29, 2009 Reply New Discussion
QUOTE (iGuestAmmar)
How To unban/ban sites using command promptCommand Prompt Tips
Answer these Questions in order please.
1.How do I unban sites using command prompt because my brother did this to me and I have know way to figure out Please answer This question I would appreciate it alot.
2.How do I restrict/ban sites using command prompt I would like to know Thank you very much for your time
-reply by Ammar
Link: view Post: 127416
When you are referring to sites I assuming you mean Windows accounts? You can stop a user from accessing the command prompt by using Group Policy. You must be an Administrator on the machine to use the Group Policy Editor or make any changes so make sure your account has these permissions. A fairly useful Microsoft Knowledge Base article is located at http://support.microsoft.com/kb/307882 and tells you how to run Group Policy Editor. There are many options from disabling screensavers to disabling the command prompt, just look for the one that applies to you.
Fri May 29, 2009 Reply New Discussion
QUOTE (iGuestAmmar)
How To unban/ban sites using command promptCommand Prompt Tips
Answer these Questions in order please.
1.How do I unban sites using command prompt because my brother did this to me and I have know way to figure out Please answer This question I would appreciate it alot.
2.How do I restrict/ban sites using command prompt I would like to know Thank you very much for your time
-reply by Ammar
Link: view Post: 127416
Are you sure sites are blocked in command prompt? This is higly unlikely since there is no such built-in feature. He is probably using running a external program to filter URLs using a blacklist or whitelist, or using the default Windows HOSTS file to redirect some of your URL requests to a none existent website.
Sat May 30, 2009 Reply New Discussion
QUOTE (tansqrx)
How to copy text from a Command Prompt (the easy way)I find myself at the command prompt frequently and copy/paste is essential. You can set the preferences to more permanently facilitate copy/paste.
1. Right click the title bar and select properties.
2. On the Options tab check Quick Edit Mode.
3. Click OK.
4. A new window will appear asking how you would like to save these changes, select Save properties for future windows with same title.
Now when you need to copy something from the command line, use your mouse to make the selection (similar to selecting icons in Windows Explorer). Once you have what you want selected, hit the Enter key and it is saved to the clipboard. If you want to paste, right click the mouse and the clipboard will be pasted where the cursor is.
This method takes some getting used to but Ctrl+C cannot be used at the command line because it has the special property of issuing a break and stopping any current processing. Ctrl+C was in DOS well before the idea of copy/paste so it gets priority by virtue of time.
Link: view Post: 137177
hmmm, actually I don't suggest settting this as a default. Because it will cause some unneed access to the insert mode.
If you have done a comparsion with windows 2000 and windows xp. You will found that windows xp had changed it from enabled to disable.
As I still works with both windows 2000 and windows xp. I do not like or need it by default. To access the insert mode, just right-click over the command-prompt and choose mark, and now can start mark the text to be copy; and press enter to copy the text to the system clipboard.
Sat May 30, 2009 Reply New Discussion
My system is starting only in safe mode. Somebody changed my administration settings. Now I couldn't install kapersky. I wanna login normally and not from safe mode.Somebody help me with it...
Also please tell me how to change administration settings in Command prompt mode.
Is ther some way to find out the admin password using DOS commands???
-question by sandy
Sat Aug 22, 2009 Reply New Discussion
Yeah I agree. He is using what is known as the 'bounce' technique. It is the same technique used at schools. When you input a swear word, a type of code searches the documents for any swear words that are saved and updated into a list. I only know of 1 such a code which is visual basic 6.0. I have used it for this same purpose.
Its done by writing code for the exported program which is comtinuously running in the background. When ever a URL is sent through the computer, it searches any matches for that URL. If the is a match, command code tells the computer not to retrieve information from this site. It is done using a .Bat file. You can normally stop this by going into task manager clicking on process and it should be in the saved under something like vbscript, or comVB, or Command. If none of this works, I assume he is using your internet security options which you can get into using control panel. Somewhere in there should be a list of things that are allowed and things that are not allowed through your firewall.He may have put the site under 'Blocked'.
Keywords:Wed Nov 4, 2009 Reply New Discussion
I'm both a Windows user and a Linux user but whenever I am navigating in the cmd prompt within Windows I usually end up typing 'ls' (the Linux version of 'dir') and Windows reports back to me that ls is not a valid command. Well I finally got sick of it an decided to add ls functionality to my cmd prompt. To do this I downloading GNU ls for Windows from here:
http://utools.Com/msls.Asp
And moving the file 'ls.Exe' into my System 32 folder, unfortunately 'ls' still did not work for me, this is how I fixed it (this will work for anyone attempting to run a program as an external command from the System 32 folder through the cmd prompt):
I edited my PATH variable in my system's environmental variables if you do not know how to do this here is a nice tutorial:
http://www.Computerhope.Com/issues/ch000549.htm
I edited the value of the variable to include "%SYSTEMROOT%System32" without the quotes. If you have anthing else in the value make sure to serperate it and this with a ;
There you go! You've just added a program as an external command for your Windows cmd prompt.
-reply by NatookaThu Nov 5, 2009 Reply New Discussion
how to give password to folder/directory through command prompt?
-reply by santoshMon Nov 30, 2009 Reply New Discussion
you're in luck: I have just the thing, was working on it a while ago.
(echo Date: %date%)>>log.Txt(echo Time: %time%)>>log.Txt
brackets may or may not be necessary, I haven't checked, but I'm pretty sure it'll screw up if you don't have them.
-reply by matthewWed Dec 16, 2009 Reply New Discussion
I have a corrupt Windows XPIt's almost imposible to bootEven if I boot I still can't press anything, because if I try do do anything it freezes then it crashes...
What I need to know is there a way to put a file onto a usb with command prompt
if so could somebody send me an tutorial or guide.
-question by RomanoFri Dec 4, 2009 Reply New Discussion
Q: I am unable to open my cmd prompt why? and where is the actual cmd directory not shortcut directory please answer to my question?
-reply by PrinceOfParsia
Sat Feb 13, 2010 Reply New Discussion
MinTTY is small, fast and configurable, offers command history that is not delete when you close it.
There is one "problem", it requires Cygwin environment to run, but once you grasp some Unix tools such as grep, you'll be able to do some things many times faster than through GUI (grep comes very handy when filtering text files, converting logs and so on).
Check you Cygwin.
Thu Feb 18, 2010 Reply New Discussion
QUOTE (Gsandy)
how to change Admin settings in command prompt mode????Command Prompt Tips
My system is starting only in safe mode. Somebody changed my administration settings. Now I couldn't install kapersky. I wanna login normally and not from safe mode.Somebody help me with it...
Also please tell me how to change administration settings in Command prompt mode.
Is ther some way to find out the admin password using DOS commands???
-question by sandy
Link: view Post: 139717
Fri Feb 19, 2010 Reply New Discussion
Wed Mar 24, 2010 Reply New Discussion
#1. First, you open your command prompt, then you type in without the quotes "tracert" then you type the site you want, and there should be numbers in square brackets, then you type it on the enternet at the top screen. There you go!
Wed Mar 24, 2010 Reply New Discussion
I need size of the folder using command for example in e:(drive) one folder name is called oradata so I want to check the size of the oradata folder using command
Please help me
-reply by aravindanTue Mar 8, 2011 Reply New Discussion
hey! XP users, here's a wonderful trick for u.Just Go to start-run-cmdType "at"(without qoutes)If u get a output as "There are no entries in the list" then u are done.Then typeAt 17:30 /interactive "cmd.Exe"Here 17:30 is the time, so u have to give a time 1 or 2 minutes later from your current time.Then at tour given time, a new cmd type window will occur automatically. But it's title will be svchost.Exe. Now u can close the previous cmd window.Now in the new window type "taskmgr" without quotes.Go to processes and end the process explorer.Exe.Then again type explorer.Exe in the svchost window.Now click on start and you will see that the current user is "SYSTEM".Now here u can run all program with administrator privelages.Enjoy!
-reply by Prem
Wed Oct 19, 2011 Reply New Discussion
Command Prompt Tips
Answer these Questions in order please.
1.How do I unban sites using command prompt because my brother did this to me and I have know way to figure out Please answer This question I would appreciate it alot.
2.How do I restrict/ban sites using command prompt I would like to know Thank you very much for your time
-reply by Ammar
Thu Aug 7, 2008 Reply New Discussion
Windows Codename "vienna" (11)
|
(1) Windows Defender: 2000, Xp, 2003, 2003 R2, Vista Runs on 2000, XP, 2003, 2003 R2, Vista
|
Index




