Welcome Guest ( Log In | Join )

Discover the best free computer help!
Learn more about Geeks to Go by taking the tour. Want to ask a question, reply to a topic, or remove all advertising? It's easy, fast and free. Join today!
Spyware, virus, trojan, fake security or privacy alerts? Please start with our malware cleaning guide.
     
 
Reply to this topicStart new topic
What is your favorite Prompt Command?, How to fix most things in Prompt
Sir Grand Funk
post Nov 6 2006, 10:35 AM
Post #1


Member
***
Posts: 114
OS: Windows XP



Prompt has SO MANY USES! If you have a corrupt file that cannot be deleted you can type:
CODE
chkdsk /f drive-letter:\

And it will delete the file.

If you are wondering what is taking up so much space on your computer you can type:
QUOTE
diruse /s \ | sort
Go to the top of the page
 
+Quote Post
Johanna
post Nov 6 2006, 11:27 AM
Post #2


The Leather Lady
Group Icon
Posts: 2,799
From: Ohio, USA
OS: XP Pro SP2 and Windows Vista Ultimate



One of my favorite things about XP is that I seldom ever need the command window because the GUI has the features available without memorizing strings of letters, slashes and whatnot.

However "systeminfo" is fun to do now and then. smile.gif
Johanna
Go to the top of the page
 
+Quote Post
dsenette
post Nov 6 2006, 11:45 AM
Post #3


Ruler of Omicron Persei 8
Group Icon
Posts: 20,868
From: kn-ARGH!-xville Tenn-ARGH!-see
OS: 3.1, 95, 98SE, xp, 2000, NT4, 2003 Standard Edition, linux (various flavors)



*dsenette wonders where fleamailman is?

Go to the top of the page
 
+Quote Post
Sir Grand Funk
post Nov 6 2006, 04:41 PM
Post #4


Member
***
Posts: 114
OS: Windows XP



QUOTE(dsenette @ Nov 6 2006, 11:45 AM) [snapback]829125[/snapback]

*dsenette wonders where fleamailman is?


What? I have no clue as to what you are referencing to. I use Windows Xp.. SO if it is about 'old news'... Whatever to that...

(googles)

Nevermind.

This post has been edited by Sir Grand Funk: Nov 6 2006, 05:17 PM
Go to the top of the page
 
+Quote Post
Cilix
post Nov 6 2006, 05:43 PM
Post #5


Member
***
Posts: 147
From: Long Island, NY
OS: Windows XP / Kubuntu 7.10



netsh

smile.gif
Go to the top of the page
 
+Quote Post
fleamailman
post Apr 9 2007, 05:09 PM
Post #6


Member 2k
*****
Posts: 2,344
From: geneva switzerland
OS: linux(kubuntu)



Um, sorry that I found this thread a little late, here is a list but I don't know which is my favorite

runbox msc commands (Microsoft Management Console snap-in)
-----------------------------------------------------------
ciadv.msc = indexing service
compmgmt.msc = computer management
devmgmt.msc = device manager
dfrg.msc = disk defragment
diskmgmt.msc = disk management
eventvwr.msc = event viewer
fsmgmt.msc = shared folders
gpedit.msc = group policies
lusrmgr.msc = local users and groups
ntmsmgr.msc = removable storage operator request
perfmon.msc = performance monitor
rsop.msc = resultant set of policies
secpol.msc = local security settings
services.msc = various Services
secpol.msc = local security settings
certmgr.msc = certificate manager
wmimgmt.msc = windows management infrastructure
runbox cpl commands
------------------------------------------------------------------
ac3filter.cpl = ac3 filter(if installed)
access.cpl = accessibility option control
appwiz.cpl = add/remove programs control
desk.cpl = display properties control
directx.cpl = direct x control panel(if installed)
findfast.cpl = FindFast control
firewall.cpl = windows firewall
hdwwiz.cpl = add hardware wizard
inetcpl.cpl = Internet Properties control
intl.cpl = regional and language options
joy.cpl = game controlloers control
jpicpl32.cpl = java control panel(if installed)
main.cpl = Mouse Properties control
mmsys.cpl = Multimedia Properties control
ncpa.cpl = network control
netsetup.cpl = network setup wizard
nusrmgr.cpl = user accounts control
odbccp32.cpl =odbc data souce adminstrator
password.cpl = Password Properties control
powercfg.cpl = power options properties control
joy.cpl = game controlloers control
sysdm.cpl = System Properties control
sticpl.cpl = scanner and camera control
tlephon.cpl = telephone and moden options
timedate.cpl = date/time Properties control
waaucpl.cpl = automatic updates
wscui.cpl = security center
runbox control commands
---------------------------------------------------------------------- -
control admintools = amdinistrative tools
control color = display properties(appearence)
control desktop = desktop properties
control folders = folder properties
control fonts = fonts properties
control keyboard = keyboard properties
control netconnections = network connections
control mouse = mouse properties
control printers = printer and fax options
control schedtasks = schedualed tasks
runbox non grouped commands
-------------------------------------------------------
dxdiag = direct x trounbleshooter
ddeshare = dde share
cliconfg = sql client configaration
cmd = command prompt
dcomcnfg = component services
clipbrd = clipboard
chkdsk = check disk utility
fsquirt = bluetooth transfer wizard
folders = folders properties
font = fonts folder
freecell = freecell
calc = caculator
charmap = carater graph
cleanmgr = too long to explain but useful
command = opens command prompt
diskpart = disk partition manager
explorer = explorer
iexpress = iexpress wizard
javaws = java control panel(in installed)
logoff = logs you out of windows
magnity = windows magnifier
msconfig = system Configuration Utility
msinfo32 = system Infomation
msimn = letterbox
mailto = opens default email client
notepad = notepad
osk = keyboard
packager = object packager
perfmon = performance minitor
prefetch = the thing windows prepairs
regedit = Registry Editor
regedit32 -
sfc = system file checker utility
taskmgr = task manager
telnet = telnet client
wab = windows address book
wabmig = windows address book (adding something)
win.ini = windows loading information(also system.ini)
winver = shows current version of windows
winchat = microsoft chat
sysedit = System Edit
tourstart = tour pub when xp is installed
drwtsn32 = dr. watson troubleshooting utility
verifier = driver verifier utility
sigverif = file signature verification tool
write = wordpad
utelman = utility manager
Go to the top of the page
 
+Quote Post
fleamailman
post Apr 9 2007, 05:10 PM
Post #7


Member 2k
*****
Posts: 2,344
From: geneva switzerland
OS: linux(kubuntu)



a bit more

runbox subdirectories
accessability settings
access.cpl @0,1 = keyboard
access.cpl @0,2 = sound
access.cpl @0,3 = display
access.cpl @0,4 = mouse
access.cpl @0,5 = general
desk settings
desk.cpl = theme
desk.cpl @0,0 = desktop
desk.cpl @0,1 = screen saver
desk.cpl @0,2 = apearance
desk.cpl @0,3 = setting
Internet Settings
inetcpl.cpl @0,0 = general
inetcpl.cpl @0,1= security
inetcpl.cpl @0,2 = privacy
inetcpl.cpl @0,3 = content
inetcpl.cpl @0,4 = connections
inetcpl.cpl @0,5 = programs
inetcpl.cpl @0,6 = advanced
regional settings
intl.cpl @0,0 = regoal options
intl.cpl @0.1 = languges
intl.cpl @0,2 = advanced
keyboard/mouse
main.cpl @0,1 = buttons
main.cpl @0,1,1 = pointers
main.cpl @0,2 = pointers options
main.cpl @0,3 = wheel
main.cpl @0,4 = hardware
main.cpl @1,0 = keyboard speed
main.cpl @1,1,1 = keyboard hardware
sounds properties box
mmsys.cpl @0,0= volume
mmsys.cpl @0,1 = sound
mmsys.cpl @0,2 = audio
mmsys.cpl @0,3 = voice
mmsys.cpl @0,4 = hardward
system Settings
sysdm.cpl @0,0 = general
sysdm.cpl @0,1 = computer name
sysdm.cpl @0,2 = hardware
sysdm.cpl @0,3 = advanced
sysdm.cpl @0,4 = restore system
sysdm.cpl @0,5 = automatic updatet
sysdm.cpl @0,6 = remote
Go to the top of the page
 
+Quote Post
fleamailman
post Apr 9 2007, 05:11 PM
Post #8


Member 2k
*****
Posts: 2,344
From: geneva switzerland
OS: linux(kubuntu)



yet more

variables that work with the runcommand box:
%allusersprofile% = local returns the location of the all users profile.
%appdata% = local returns the location where applications store data by default.
%cd% = local returns the current directory string.
%comspec% = system returns the exact path to the command shell executable.
%homedrive% = system returns which local workstation drive letter is connected to the user's home directory. this variable is set based on the value of the home directory. the user's home directory is specified in local users and groups.
%homepath% = system returns the full path of the user's home directory. this variable is set based on the value of the home directory. the user's home directory is specified in local users and groups.
the user's home directory is specified in local users and groups.
%logonserver% = local returns the name of the domain controller that validated the current logon session.
%programfiles% = returns the location of the default install directory for applications.
%systemdrive% = system returns the drive containing the windows root directory (i.e., the system root).
%systemroot% = system returns the location of the windows root directory.
%temp% = system and user return the default temporary directories for applications that are available to users who are currently logged on. some applications require temp and others require tmp.
%tmp% = system and user return the default temporary directories for applications that are available to users who are currently logged on. some applications require temp and others require tmp.
%(time)% = system returns the current time. this variable uses the same format as the time /t command. cmd.exe generates this variable. for more information about the time command, see the time command.
%(userdomain)% = local returns the name of the domain that contains the user's account.
%(username)% = local returns the name of the user currently logged on.
%userprofile% = local returns the location of the profile for the current user.
%windir% = system returns the location of the os directory
Go to the top of the page
 
+Quote Post
fleamailman
post Apr 9 2007, 05:13 PM
Post #9


Member 2k
*****
Posts: 2,344
From: geneva switzerland
OS: linux(kubuntu)



sfc /cancel
cancels all pending scans of protected system files

sfc /enable = Enables Windows File Protection for normal operation

sfc /quiet
replaces all incorrect file versions without prompting the user.
(normally requires the xp)

sfc /revert
Returns scan to the default setting of not scaning each time
(cancels the scan every time of sfc /scanboot

sfc /scanboot
scans all protected system files every time you start your computer
(normally requires the xp)

sfc /cachesize=x
sets the file cache size to x megabytes
(see process at bottom of page)

sfc /scannow
scans all protected system files immediately and replaces incorrect versions with correct Microsoft versions
(normally requires the xp)

sfc /scanonce
scans all protected system files one time when you restart your computer.
(normally requires the xp)

sft /purgecache
replaces all files immediately
(normally requires the xp)


process of sfc /cachesize=x
- runbox command: sfc /cachesize=x
(to adjust the size of the on-disk)
- reboot computer
- runbox command: sft /purgecache
(normally requires the xp)
( the default size of the cache is 50 MB)
Go to the top of the page
 
+Quote Post
stettybet0
post Apr 9 2007, 06:37 PM
Post #10


Trusted Tech
Group Icon
Posts: 1,981
OS: Vista Ultimate SP1 x64, XP Pro SP3



lol... im gonna have to go with

CODE
@echo off
echo You are cool.


It always makes me feel glad to know that my computer thinks I'm cool.
Go to the top of the page
 
+Quote Post
fleamailman
post Apr 10 2007, 02:13 AM
Post #11


Member 2k
*****
Posts: 2,344
From: geneva switzerland
OS: linux(kubuntu)



stettybet0, better to have that pop up at a set time

to make a popup reminder
(examples: monthly payments, weekly errands, homework, to do lists, etc.,)
- step 1. make a batch file with text and colored background
- step 2. use scheduled tasks to lanch it when you want it


step 1: to make a colored batch file that puts text on screen

runbox command
- press keyboard buttons: winkey + r
- paste this in slot: notepad
- press: enter
(notepad window opens)

- type in window: @echo off
(this hides the commands so one only sees the text)
- type: color 1f
(f is the color of background, 1 is the color of text)
(the list of color choices is below)
- type: echo.
(gives you a blanc line)
- type for example: You are cool
- type: echo.
- type: pause
(pause just means end here)
- click top of window: file
- choose: save as
- type for example: "You are cool.bat"
(don't forget the inverted commas, or it won't show on screen)
- press: save
done

step 2: to use scheduler to lanch the batch.file

runbox command
- press keyboard buttons: winkey + r
- paste this in slot: tasks
- press: enter
- click: add scheduled task
(scheduled task wizard window appears)
- click: next
- click: browse
- find your newly made bat file
- double click your newly made bat file
- optional, type name of task
(best just leave it but if you have many...)
- choose lanching time(s)
(for example choose: weekly)
- press: next
(if weekly, choose the day and time)
- press: next
(password prompt appears)
- ignore password prompt
- press: next
- tick box: open advanced properties for this task when I click finish
- click: finish
- tick box: run only if logged on
(apply button appears)
- click: apply
- click: ok
done

[footnote 1] to change the colors:
- normally cmd is 07, that is 0 black background and 7 white text , to change color just choose from below, for example I like 1f which is

0 = black
1 = blue
2 = green
3 = aqua
4 = red
5 = purple
6 = yellow
7 = white
8 = gray
9 = light blue
a = light green
b = light aqua
c = light red
d = light purple
e = light yellow
f = light white

here is a simple template, so you only have to write the text:
(replace 'this is where you write your text' with your text)

@echo off
color 1f
echo.
echo this is where you write your text
echo.
pause

This post has been edited by fleamailman: Apr 10 2007, 02:15 AM
Go to the top of the page
 
+Quote Post
dsenette
post Apr 10 2007, 07:14 AM
Post #12


Ruler of Omicron Persei 8
Group Icon
Posts: 20,868
From: kn-ARGH!-xville Tenn-ARGH!-see
OS: 3.1, 95, 98SE, xp, 2000, NT4, 2003 Standard Edition, linux (various flavors)



QUOTE(Sir Grand Funk @ Nov 6 2006, 06:41 PM) [snapback]829416[/snapback]
QUOTE(dsenette @ Nov 6 2006, 11:45 AM) [snapback]829125[/snapback]

*dsenette wonders where fleamailman is?


What? I have no clue as to what you are referencing to. I use Windows Xp.. SO if it is about 'old news'... Whatever to that...

(googles)

Nevermind.

see the last 3 or 4 posts
Go to the top of the page
 
+Quote Post
fleamailman
post Apr 10 2007, 09:46 AM
Post #13


Member 2k
*****
Posts: 2,344
From: geneva switzerland
OS: linux(kubuntu)



thanks dsenette, trouble is I don't know how much commands change under vista, my next homework then, is there a link in this direction then? thanks
Go to the top of the page
 
+Quote Post
dsenette
post Apr 10 2007, 09:49 AM
Post #14


Ruler of Omicron Persei 8
Group Icon
Posts: 20,868
From: kn-ARGH!-xville Tenn-ARGH!-see
OS: 3.1, 95, 98SE, xp, 2000, NT4, 2003 Standard Edition, linux (various flavors)



MOST of the commands used in command prompt have remained rellatively unchanged since win95-ish...they're all based on dos commands etc...i would imagine most will survive through vista and beyond....they tend to add new ones and remove very few...
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies / Views Topic Information
No New Posts   5 / 3,284 8th October 2005 - 08:26 AM
HenryVI started - last by warriorscot
No New Posts   5 / 255 12th February 2006 - 01:27 AM
Tataulus started - last by bmt134
No New Posts 6 / 451 24th August 2007 - 09:07 PM
Bobbydoo8 started - last by fortune82
No New Posts   0 / 265 25th September 2007 - 02:58 AM
MaMister started - last by MaMister

RSS Time is now: 8th January 2009 - 12:21 PM
Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk.