Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  yordan : (21 April 2014 - 09:11 PM) Hey, Ritesh, Did You Hear Me?
@  yordan : (14 April 2014 - 05:28 PM) By The Way, This Could Be An Interesting Subject For A Topic, What About Posting This Question? Let's See If Other People Have The Same Feeling Concerning Bootlists!
@  yordan : (13 April 2014 - 09:36 AM) Boot Order : Cd, [Usb,] Hard Drive :D
@  yordan : (11 April 2014 - 07:23 PM) I Simply Let The Bios Do That
@  Ritesh : (11 April 2014 - 10:23 AM) Is It Possible To Launch Fedora Live Cd Or Installation Disk From Hard Drive On Windows Platform Using Grub Mbr File.
@  Ritesh : (11 April 2014 - 10:21 AM) No U Are Not.. Btw.. I Have Question For You.
@  yordan : (10 April 2014 - 08:02 AM) You Are Partially Right.
I Was Not.
Nevertheless, I Am Again :)
@  Ritesh : (09 April 2014 - 07:33 PM) :P
@  Ritesh : (09 April 2014 - 07:33 PM) I Think U R Not..
@  yordan : (09 April 2014 - 09:28 AM) I'm The Master Of The Shoutbox!
@  yordan : (05 April 2014 - 10:32 PM) He-He
@  Ritesh : (04 April 2014 - 06:59 PM) Ha Ha Ha ....
@  yordan : (04 April 2014 - 11:15 AM) Welcome Back, Starscream!
@  yordan : (03 April 2014 - 02:31 PM) And I Hope That He Will Come Back Soon :)
@  yordan : (01 April 2014 - 02:53 PM) Nice, Ritesh Came, I'm Not Home Alone Today.
@  Ritesh : (01 April 2014 - 08:51 AM) Oh!!! Poor Dear Yordan..
@  yordan : (31 March 2014 - 10:02 AM) I'm A Poor Lonesome Cow-Boy
@  yordan : (27 March 2014 - 02:22 PM) He Is Unpatient Due To His Patients!
@  Ritesh : (27 March 2014 - 10:46 AM) :(
@  Ritesh : (27 March 2014 - 10:46 AM) He Is Busy With His Patients.

Photo
- - - - -

Command Prompt Tips


21 replies to this topic

#1 soleimanian

soleimanian

    End Of Computer

  • Members
  • 346 posts
  • Location:.:: MARS ::.
  • Interests:smoking, drinking, gambling

Posted 24 January 2006 - 08:12 AM

Command Prompt tips

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.

#2 Guest_iGuest-Ammar_*

Guest_iGuest-Ammar_*
  • Guests

Posted 07 August 2008 - 02:12 AM

How To unban/ban sites using command prompt
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

#3 Guest_(G)Marty_*

Guest_(G)Marty_*
  • Guests

Posted 27 April 2009 - 06:42 AM

DOS Box Cursor ColorCommand Prompt Tips

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

 



#4 Guest_(G)kardiva_*

Guest_(G)kardiva_*
  • Guests

Posted 09 May 2009 - 08:24 AM

Toi get time stamp in th txt file created by CMD.Command Prompt Tips

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



#5 magiccode9

magiccode9

    Advanced Member

  • [HOSTED]
  • 162 posts
  • Gender:Male
  • myCENTs:77.89

Posted 29 May 2009 - 06:55 PM

Thanks for this usefull tips on windows.
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.

Attached Files



#6 tansqrx

tansqrx

    Super Member

  • [HOSTED]
  • 759 posts

Posted 29 May 2009 - 07:40 PM

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.

Edited by tansqrx, 29 May 2009 - 07:41 PM.


#7 tansqrx

tansqrx

    Super Member

  • [HOSTED]
  • 759 posts

Posted 29 May 2009 - 07:46 PM

How To unban/ban sites using command prompt

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


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.

Edited by tansqrx, 29 May 2009 - 07:47 PM.


#8 Atomic0

Atomic0

    Premium Member

  • [HOSTED]
  • 390 posts
  • Gender:Male
  • myCENTs:92.30

Posted 30 May 2009 - 12:06 AM

How To unban/ban sites using command prompt

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


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.

#9 magiccode9

magiccode9

    Advanced Member

  • [HOSTED]
  • 162 posts
  • Gender:Male
  • myCENTs:77.89

Posted 30 May 2009 - 05:05 AM

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.



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.

#10 Guest_(G)sandy_*

Guest_(G)sandy_*
  • Guests

Posted 22 August 2009 - 06:32 AM

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

 



#11 Guest_(G)_*

Guest_(G)_*
  • Guests

Posted 04 November 2009 - 11:02 PM

How To unban/ban sites using command promptCommand Prompt Tips

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:

#12 Guest_(G)Natooka_*

Guest_(G)Natooka_*
  • Guests

Posted 05 November 2009 - 01:59 AM

How to add a program so it is regocnizable as an external command in cmdCommand Prompt Tips

 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 Natooka

#13 Guest_(G)santosh_*

Guest_(G)santosh_*
  • Guests

Posted 30 November 2009 - 11:32 AM

password to folderCommand Prompt Tips

how to give password to folder/directory through command prompt?

-reply by santosh

#14 Guest_(G)matthew_*

Guest_(G)matthew_*
  • Guests

Posted 16 December 2009 - 04:04 AM

Time stampCommand Prompt Tips

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 matthew

#15 Guest_(G)Romano_*

Guest_(G)Romano_*
  • Guests

Posted 04 December 2009 - 08:49 PM

How to get files from windowsCommand Prompt Tips

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 Romano

#16 Guest_(G) PrinceOfParsia_*

Guest_(G) PrinceOfParsia_*
  • Guests

Posted 13 February 2010 - 07:34 PM

CMD PromptCommand Prompt Tips

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

 



#17 Quatrux

Quatrux

    the Q

  • [HOSTED]
  • 1,669 posts
  • Gender:Male
  • Location:Lithuania, Vilnius
  • Interests:PHP, MySQL, Oracle, PL/SQL, HTML, CSS, Javascript, jQuery, C# Computers, Alternative OS, Amiga, MorphOS, Beer, Friends, Linux, KDE..
  • myCENTs:30.76

Posted 18 February 2010 - 02:24 PM

If someone wants superior console on Windows, they should drop cmd and try MinTTY. It is based on Putty, the great SSH client and offers users who are more familiar with Unix a calmer mind while working in Windows ;)

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.

#18 codemaster

codemaster

    Newbie [ Level 1 ]

  • Members
  • 1 posts

Posted 19 February 2010 - 06:16 AM

well first things first when it comes up does it ask if you wanna boot in safe mode and also what OS are you using

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


Edited by codemaster, 19 February 2010 - 06:18 AM.


#19 Guest_(G)Taylor L._*

Guest_(G)Taylor L._*
  • Guests

Posted 24 March 2010 - 03:22 PM

how to shutdown a computer.Command Prompt TipsReplying to iGuestReplying to tansqrxReplying to tansqrxI don't know how to shutdown a computer, it wont work, please anser my qoustion, Thanks!-question by Taylor L.

#20 Guest_(G)_*

Guest_(G)_*
  • Guests

Posted 24 March 2010 - 03:16 PM

#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! 





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users