无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 1789|回复: 0
打印 上一主题 下一主题

Small command line utilities

[复制链接]
跳转到指定楼层
1#
发表于 2010-3-26 19:09:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Small command line utilities

Works on Windows NT/95/98/ME/2000/XP/2003 unless the description says something else. Some of them also run on Windows 3.x with Win32s but then without displaying anything because Win32s on Windows 3.x has no console support.

These binaries are compiled with the free version of Microsoft Visual C++. They are not linked with the standard C or C++ libraries that comes with this compiler, instead they are linked with a dynamic library I call minwcrt (Minimal Windows C Run-Time Library) linking them to crtdll.dll instead of msvcrt.dll. This makes them run in all versions of Win32 without additional dll files. This is also the reason why the exe files are very small. Source for this library is available as part of the source archive mentioned in the top of this document.
  • bzip2.zip - 29.5 KB - compiled 2006-03-08 - The very space efficient bzip2 compression utility with huffman/deflate algorithms. This port is from the XMILL project. The binary here is optimized for Pentium 4 processors but will run on other x86 processors as well and is linked with the minwcrt library so the exe file is smaller and does not require msvcrt.dll like K.M. Syring's port of the GNU version does.
  • calldll.zip - 2.40 KB - compiled 2006-03-08 - Calls a function in a dll file. The function must use the stdcall calling convention and accept only one single parameter, a pointer to a character string as or a NULL pointer. If you e.g. want to connect to a network printer from a batch file you can write: "calldll winspool.drv AddPrinterConnectionA \\server\printerq". The ZIP file also contains calldllw.exe which is exactly the same except that it passes a unicode string instead of ansi. That version can only be used in Windows NT/2000/XP/2003.
  • chsize32.zip - 2.17 KB - compiled 2006-03-08 - Changes file size of existing file or creates a new file with specified size.
  • copyacls.zip - 1.79 KB - compiled 2006-03-08 - Copies access lists (permissions and ownership) from one file or directory to a list of others.
  • cut.zip - 6.02 KB - compiled 2006-03-08 - My Win32 port of the BSD cut utility. This version is a mutch smaller exe file than e.g. K M Syring's Win32 port of the GNU cut utility. Additionally, because this version does not require msvcrt.dll it will run without additional files even on very old versions of Windows NT.
  • devioctl.zip - 4.33 KB - compiled 2007-04-23 - Command line interface to the basic disk device functions of DeviceIoControl() API. Used to unmount a filesystem, load or eject e.g. a CD. Requires Windows NT/2000/XP/2003.
  • dosdev.zip - 2.85 KB - compiled 2006-03-08 - Command line interface to the DefineDosDevice() and QueryDosDevice() API functions. Defines, redefines and prints information about the emulated DOS devices in Windows NT. Very useful if you want to use any object in Windows NT object namespace from ordinary Win32 applications. (In Windows 95/98/ME this utility is equivalent to the SUBST command.)
  • enumproto.zip - 2.19 KB - compiled 2006-03-08 - Utility to display and optionally remove installed Winsock LSP modules Layered Service Providers. Today many spyware/adware/malware install LSP modules to capture network traffic and send statistics to some company. After removing such spyware Winsock APIs may fail for all applications because there are registry references to LSP modules that no longer exists. In Windows XP SP2 you can reset LSP chain using the command netsh winsock reset but with earlier versions it was almost impossible without reinstalling the TCP/IP protocol, as described in KB892350 or KB817571. The enumproto simplifies the procedure of removing LSP modules from the chain and can run on Windows 95 (with Winsock 2.x), 98, ME, NT 4.0, 2000, XP and Server 2003.
  • enumps.zip - 2.95 KB - compiled 2006-03-08 - Utility to display names of running processes, which dll modules are loaded into different processes and numbers and owner processes of running threads. Requires Windows 95/98/ME/2000/XP/2003. It does not work on Windows NT 4.0 or earlier, use psmod instead to enumerate loaded dll files or the pslist tool by SysInternals to enumerate running processes.
  • exelist.zip - 5.16 KB - compiled 2006-04-27 - Displays information about exe files (and dll and other executable formats loadable in Windows). The utility reads the version resource linked into the exe files and also displays which executable format the image is.
  • fdf.zip - 9.56 KB - compiled 2006-03-08 - Utility to search for duplicate files and optionally delete or hard link them to save disk space.
  • fileinfo.zip - 2.83 KB - compiled 2007-05-24 - Displays information about file attibutes, creation, modification and last access time, index serials (posix i-node number and sequence number) and number of hard links.
  • finger.zip - 2.20 KB - compiled 2006-03-08 - Finger service client. The source also compiles fine on most *nix like systems.
  • getcp.zip - 1.16 KB - compiled 2006-03-08 - Includes getacp.exe and getoemcp.exe. Returns the ANSI codepage number or the OEM codepage number respectively. Useful in batchfiles where you want to use chcp command to set the codepage to one of the system default.
  • geteltorito.zip - 2.25 KB - compiled 2008-08-07 - Utility to extract an El Torito default boot image from an ISO CD/DVD image. Useful if you for example want to create a bootable Windows installation CD with an integrated Service Pack and you want it to boot with the El Torito image from the original CD.
  • gethost.zip - 1.40 KB - compiled 2006-03-08 - Displays host name and IP address for the local host or specified host name or IP adress. This utility uses the gethost*() functions so it displays exactly what response other applications get when they ask e.g. for the IP address of a given host name.
  • getkey.zip - 1021 bytes - compiled 2006-03-08 - Waits for a keystroke, converts it to upper case and returns the ascii value for that key. Useful in batchfiles where you want the user to press a key to select something.
  • joindomain.zip - 1.44 KB - compiled 2006-03-08 - Join a computer to a domain from the command line. Requires Windows 2000/XP/2003.
  • junc.zip - 2.62 KB - compiled 2006-03-08 - Creates/displays/deletes junctions of empty NTFS directories to another NTFS diretory given a native path, possibly on another volume. Works on Windows 2000/XP/2003.
  • killwin.zip - 5.90 KB - compiled 2006-03-08 - The kill.exe, enumwin.exe and showwin.exe utilities used to find, manipulate, close or destroy windows on the current desktop. Useful to kill hung applications by giving window title. kill.exe can also force application to terminate within a given number of seconds by first trying to close the application's window and then if it has not terminated within the given time it terminates the process.
  • movent.zip - 2.19 KB - compiled 2006-03-08 - Command line interface to the MoveFileEx() API function. Moves files, possibly delay the actual move until next reboot if you want. Can be used to rename or remove files not movable while the system is running. Reduced functionallity when run in Windows 95/98/ME, does not run under Win32s in Windows 3.x.
  • popdump.zip - 5.09 KB - compiled 2006-04-27 - Retrieves all e-mail messages from a POP3 mailbox and dumps them as eml files. The eml files can be opened in e.g. Outlook Express.
  • popman.zip - 5.34 KB - compiled 2006-03-08 - Useful to list messages in a POP mailbox and delete a message you don't want to receive directly on the server. Useful e.g. if you have a low bandwidth connection and can't receive the e-mail you want just because there is a really big e-mail first at the server...
  • psmod.zip - 2.58 KB - compiled 2006-03-08 - Utility to display which dll modules are loaded into different processes. Requires Windows NT 4.0 or 2000/XP/2003. On Windows NT 4.0 the psapi package is required, if you don't have it, i.e. the program complains about psapi.dll, you can get it here. For Windows 95/98/ME platforms, use the enumps tool instead.
  • rawcopy.zip - 5.42 KB - compiled 2010-02-09 - Reads and writes files and devices. (Cannot read/write disk devices in Windows 95/98/ME or Win32s.) For example useful to write a floppy image file on a harddisk to a physical floppy in Windows NT. (This can also be done by using various Win32 ports of the *nix dd program. But unlike my rawcopy, they usually do not unmount/lock physical devices or partitions during the read/write which makes them quite dangerous to use if anything else is using the device meanwhile...) From version 1.2.1 it can also create sparse output files with a new -s command line switch.
  • reptxt32.zip - 4.38 KB - compiled 2006-03-08 - Replaces a text string in any file. Can e.g. be used to change a text string in binary files or make the same text string change in a number of files at a time.
  • setprio.zip - 3.28 KB - compiled 2006-03-08 - Displays information about and optionally changes the priority class for a given process id. (Same function as the priority change option in Task Manager, but this is a command line tool that works in Windows 95/98/ME too.) This program does nothing when run in Win32s on Windows 3.x (because there is no process and thread scheduler in Windows 3.x).
  • shortren.zip - 2.01 KB - compiled 2006-03-08 - Changes the short filename (MS-DOS compatible 8.3) alias of a file or directory with a long name or a name with characters not allowed in MS-DOS filenames. Requires Windows XP, Server 2003 or later.
  • sizdir32.zip - 7.70 KB - compiled 2010-02-16 - Lists all files in a given size interval in current directory and all subdirectories and then displays how mutch disk space the files use and how mutch they would use if the allocation block size where changed.
  • strarc.zip 32-bit - 23.2 KB / strarc64.zip 64-bit 25.9 KB - compiled 2009-12-07 - A console backup/archive tool for Windows NT/2000/XP/2003/Vista/2008/7. It uses the same backup methods as the ntbackup or robocopy programs and thus backs up all information and meta data on an NTFS volume. The main difference is that strarc is free and open source and produces stream archives you can store on tapes, disks or anywhere else or it can create the archive stream to stdout so that it can be compressed easily using stream compression tools like gzip or bzip2. The command line switches and parameters are quite similar to the *nix tar utility and it can easily be used to clone an entire NTFS volume including everything, files, directories, their time stamps, attributes and security information, compression attribute, alternate data streams, junctions, hard links etc. With this new 0.1.3 release it is even possible to backup the registry database files of a running Windows system. An information file called strarc.txt describing usage and including how-tos and other documentation is included in this zip file. The documentation is also available here.
  • swapadd.zip - 2.12 KB - compiled 2009-01-14 - Adds a swapfile on a running Windows system.
  • tickcount.zip - 1.68 KB - compiled 2006-03-08 - Displays information about how long time the system has been up. (Weeks, days, hours, minutes, seconds and milliseconds.)
  • txtcnv32.zip - 2.81 KB - compiled 2006-03-08 - Converts text files or text streams from ANSI codepage to OEM codepage or vice versa. With this new release it is now also possible to specify codepages to convert from and to, or to convert from or to 16-bit Unicode from or to a specific codepage.
  • w32ver.zip - 2.05 KB - compiled 2006-03-08 - Displays the current version number, build number and service pack level for the current Win32 environment. w32verc.exe displays the information in the console window and w32ver.exe displays it in a dialog box making it compatible with Win32s on Windows 3.x.
  • whois.zip - 15.2 KB - compiled 2006-05-23 - My Win32 port of the GNU whois client. Automatically directs the query to the right whois server by using tables and following redirections. Now updated to support the new .eu domains.
  • xcopynt.zip - 3.63 KB - compiled 2006-03-08 - Copies a complete directory tree to another location. This tools copies files, directories (even empty ones), all attributes, extended attributes, time stamps, security information including access permissions (except in some cases owner and auditing information). Requires Windows NT 4.0, Windows 2000, XP or Server 2003. The Windows NT 4.0 version of xcopy.exe did not have all this functionallity. Note! The development of this tool has now come to an end. It has several limitations, especially under newer Windows versions (it lacks correct support for hard links, compression attribute, junction points, etc) and it does not work at all under Windows NT version prior to 4.0. I recommend all users of this tool to use the new strarc instead. If you previously typed xcopynt d:\dir\ you may now use strarc and type strarc -c | strarc -x -d:d:\dir\ instead.
Small utilities with graphical user interface (or with no user interface at all)

Works on all versions of Win32 unless the description says something else. This includes at moment Windows 95/98/ME/NT/2000/XP/2003 and Windows 3.x with Win32s installed.

These binaries are compiled with the free version of Microsoft Visual C++. They are not linked with the standard C or C++ libraries that comes with this compiler, instead they are linked with a dynamic library I call minwcrt (Minimal Windows C Run-Time Library) linking them to crtdll.dll instead of msvcrt.dll. This makes them run in all versions of Win32.
  • enumwinw.zip - 10.4 KB - compiled 2004-03-09 - Like the utilities in killwin.zip above, but this one is a graphical interface tool to view information about windows and other graphical objects on the current desktop and possibly show, hide, minimize or close them if you want. This tool requires Windows NT 4.0 Service Pack 3 or later or Windows 95 or later. It is written in Visual Basic 6 so if it does not work you probably don't have the VB run-time environment installed. You can get it here.
  • fsplitw.zip - 6.79 KB - compiled 2006-03-08 - Splits a big file into smaller part files of specified size. Useful to split a large file to many floppies or CD:s. The file parts can be restored to the large file again using the copy /b command at the command line, like copy /b part1+part2+part3 bigfile.
  • gethostw.zip - 1.64 KB - compiled 2006-03-08 - Like gethost.zip above, but displays the information in a dialog box instead, making it compatible with Win32s on Windows 3.x (or good if you don't like the console anyway...).
  • logonwrap.zip - 1.47 KB - compiled 2006-03-08 - Runs the application specified on command line and waits for it to terminate and then logs out the user session. Particulary useful on Terminal Servers in cases where you want only one single application to run when user logs on and make sure the session is closed properly when that application is terminated.
  • logout.zip - 1.89 KB - compiled 2006-03-08 - Command line interface for the ExitWindowsEx() API function. Useful to log out the current user or shutdown or restart the system in the way you want.
  • regrepl.zip 32-bit - 6.79 KB / regrepl64.zip 64.bit - 8.93 KB - compiled 2009-12-07
    - Registry Replace Tool. This program is useful if you have missed a "replace all"-function in the Registry Editor. The new version also supports remote operation on other computers on the network and selecting subkey where the search and replace should start. It supports replacing Ansi and Unicode texts in REG_SZ, REG_MULTI_SZ, REG_EXPAND_SZ and REG_BINARY type registry values. Download screenshot here (9.4 KB).
  • synctime.zip - 2.80 KB - compiled 2006-03-08 - Synchronizes the local computer's time with the nist.gov time servers.
  • tickcntw.zip - 1.39 KB - compiled 2006-03-08 - Displays a dialog box with information about how long the system has been up. (Weeks, days, hours, minutes, seconds and milliseconds.)
  • w32ver.zip - 2.05 KB - compiled 2006-03-08 - Displays the current version number, build number and service pack level for the current Win32 environment. w32verc.exe displays the information in the console window and w32ver.exe displays it in a dialog box making it compatible with Win32s on Windows 3.x.
  • winlogoncfg.zip 32-bit - 18.7 KB / winlogoncfg64.zip 64-bit - 19.3 KB - compiled 2009-12-07 - A small utility to view and change settings for the Winlogon process. This includes settings up auto logon feature, logon dialog options and settings for Windows File Protection. Operates on local and remote computers. Requires Windows NT, 2000, XP or Server 2003. A help file with some how-to instructions is included. Download screenshot here (21.3 KB).
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2026-1-4 02:28

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表