Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

What is your favorite Prompt Command?


  • Please log in to reply

#1
Sir Grand Funk

Sir Grand Funk

    Member

  • Member
  • PipPipPip
  • 115 posts
Prompt has SO MANY USES! If you have a corrupt file that cannot be deleted you can type:
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:

diruse /s \ | sort


  • 0

Advertisements


#2
Johanna

Johanna

    The Leather Lady

  • Moderator
  • 3,038 posts
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. :whistling:
Johanna
  • 0

#3
dsenette

dsenette

    Je suis Napoléon!

  • Administrator
  • 26,019 posts
  • MVP
*dsenette wonders where fleamailman is?
  • 0

#4
Sir Grand Funk

Sir Grand Funk

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 115 posts

*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.

Edited by Sir Grand Funk, 06 November 2006 - 05:17 PM.

  • 0

#5
diabillic

diabillic

    Member 1K

  • Member
  • PipPipPipPip
  • 1,370 posts
netsh

:whistling:
  • 0

#6
fleamailman

fleamailman

    Member 2k

  • Member
  • PipPipPipPipPip
  • 2,383 posts
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
  • 0

#7
fleamailman

fleamailman

    Member 2k

  • Member
  • PipPipPipPipPip
  • 2,383 posts
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
  • 0

#8
fleamailman

fleamailman

    Member 2k

  • Member
  • PipPipPipPipPip
  • 2,383 posts
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
  • 0

#9
fleamailman

fleamailman

    Member 2k

  • Member
  • PipPipPipPipPip
  • 2,383 posts
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)
  • 0

#10
stettybet0

stettybet0

    Trusted Tech

  • Technician
  • 2,579 posts
lol... im gonna have to go with

@echo off
echo You are cool.

It always makes me feel glad to know that my computer thinks I'm cool.
  • 0

#11
fleamailman

fleamailman

    Member 2k

  • Member
  • PipPipPipPipPip
  • 2,383 posts
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

Edited by fleamailman, 10 April 2007 - 02:15 AM.

  • 0

#12
dsenette

dsenette

    Je suis Napoléon!

  • Administrator
  • 26,019 posts
  • MVP

*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
  • 0

#13
fleamailman

fleamailman

    Member 2k

  • Member
  • PipPipPipPipPip
  • 2,383 posts
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
  • 0

#14
dsenette

dsenette

    Je suis Napoléon!

  • Administrator
  • 26,019 posts
  • MVP
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...
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP