Free Web Hosting Provider - Web Hosting - E-commerce - High Speed Internet - Free Web Page
Search the Web

 
Command line tools
version 1.004   10-Jul-2001 Download: CmdLine.zip (26KB)
 
enum | filetime | freeres | getver | kill | killw | ps | restartexplorer | runscrn | taskbarw | uptime


GetVer
Description: GetVer displays the file version of one or more files.

 Usage: getver filespec

 Examples:

 C:\> getver comctl32.dll
             4.72.3611.1900  comctl32.dll

 C:\windows> getver system/comctl*.*
             4.72.3611.1900  system/COMCTL32.DLL
                  5.1.43.19  system/COMCTL32.OCX


Enum
Description: Enum displays list of all top-level windows.

 Example:

 C:\> enum
     HWND         PID PRIO  TITLE
       f4     -503397 NORM  _Shell_TrayWnd
      138     -473469 NORM  _DigiClock32
      194     -457605 NORM  ENUM
      134     -469725 NORM  DeskTask
      130     -467257 NORM  StartButtonHook99
      128     -459669 NORM  Cool Mouse 97
      124     -465157 NORM  QuickRes
       90     -514421 NORM  Spooler Process
       dc     -503397 NORM  Program Manager


EnumAll
Description: EnumAll enumerates all windows.

 Usage: enumall [-c] [-s] [-h]

   -c --classname  Always display window classname.
   -s --style      Display window style.
   -h --help       Output this help.

 Example:

 C:\> enumall -c
     N     HWND         PID  TITLE (left,top,right,bottom)
     1       f4     -503397  Shell_TrayWnd  (-2,572,802,602)
     2       f8     -503397   Button  (2,576,44,598)
     3       fc     -503397   TrayNotifyWnd  (727,576,798,599)
     4      100     -503397    TrayClockWClass  (797,577,797,597)
     5      10c     -503397   MSTaskSwWClass  (48,576,723,598)
     6      110     -503397    SysTabControl32  (48,576,723,598)
     7      13c     -473469  tooltips_class32  (0,0,10,10)
     8      138     -473469  DigiClock32  (747,553,797,573)
    ... lot of stuff deleted


ps
Description: Displays list of all processes.

 Usage: ps [-a] [-h] [pid]
 
   -a --show-all-modules    Show all modules.
   -h --help                Output this help.

 Example: 

 C:\> ps
 PID       PRIO    THR  NAME
 ffcfee1b  high 13   4  c:\windows\system\kernel32.dll
 fff83bcf  norm  8   1  c:\windows\system\msgsrv32.exe
 fff82a43  norm  8   2  c:\windows\system\mprexe.exe
 fff8f15f  idle  4   1  d:\win32\digiclk.exe
 fff8d053  norm  8   1  d:\win32\desktask.exe
 fff84d9b  norm  8   1  c:\prgfiles\cmouse97\cmouse97.exe
 fff8a0b7  norm  8   2  c:\windows\explorer.exe
 fff8f3a7  norm  8   1  c:\windows\system\winoa386.mod
 fff801f3  norm  8   1  d:\win32\hook\hook99.exe
 fff9f937  real 24   2  c:\windows\system\ddhelp.exe
 fffa3d37  norm  8   1  d:\src\cons\ps.exe


Kill
Description: Kill terminates process.

 Usage: kill pid

 Examples:  kill -473469
            kill 0xfff8c683     


KillW
Description: KillW closes window.

 Usage: killw [hwnd] [-c windowclass] [-t windowtitle]

 Examples:  killw 0x13c
            killw 316
            killw -c RegmonClass
            killw -t "Pegasus Mail"


FreeRes
Description: FreeRes displays free system resources (win95/98).

 Example:  

 C:\> freeres
  USER: 76%
  GDI:  88%


UpTime
Description: UpTime displays current time and time elapsed since Windows was started.

 Example:  

 C:\> uptime
  21:46:20  up 0 days, 3:48:27


RunScrn
Description: It's usable when you want to start your screensaver immediately.


TaskbarW
Description: Taskbarw changes the width of the taskbar buttons.

 Usage: taskbarw pixels

 Examples:  taskbarw 120
            taskbarw 0    (show only icons on the taskbar buttons)


RestartExplorer
Description: Restart explorer shell.


FileTime
Description: FileTime updates the timestamp of file(s).

 Usage: [-v] [-h] [-c] [-m] filespec [-r filespec] [-t DDMMYYYYhhmmss]

   -v            verbose mode
   -h            output this help
   -a            change only the access time
   -m            change only the modification time
   -r filespec   use reference file's timestamp
   -t datetime   use DDMMYYYY[hhmm[ss]] timestamp

Home | About | News | Links | FAQ | Top

Copyright © 1999-2001 Lado Brisar. All rights reserved.