Command Line SMTP Mailer for Batch Jobs

Bmail is a free but lean command line SMTP mail sender. Don’t get fooled into playing $$$ for huge executables. Bmail allows the user to automate the sending of email messages containing log files, data downloads or error messages on Win32 based computers. Together with the freeware utility mpack, you can also send MIME encoded […]

Schedule Windows reboot (restart) from command line with schtasks

Schedule one-time reboot: schtasks /create /tn “Reboot” /tr “shutdown /r /t 1” /sc once /st 01:00:00 /sd 08/18/2009 /ru “System” Create scheduled task to run twice daily: schtasks /create /tn “TTF” /tr “C:TempTttf.bat” /sc daily /st 06:00:00 /sd 08/25/2009 /ri 720 /du 720 /ru “System” Create scheduled task to run every weekday, M-F: schtasks /create […]

Windows Command Line Tricks

Here are a few Windows command line tricks that might make your life easier. Save A List of Files to a Text File by Extension dir *.ext /s /b > files.txt This command line will create a file called files.txt. When you open this file, there will be a complete list of all the files […]

Windows (XP, Vista, Windows 7, 2003, 2008) Commands

Here is a great list Windows XP/2000 commands that will make any Linux user feel at home at the command prompt. A lot of these commands are intended for administrating a network, but they are great for savvy home users as well. at – Windows Scheduling utility bootcfg – This utility allows you to set […]

How to Change User Password at Command Prompt

To change a user’s password at the command prompt, log on as an administrator and type: net user user_name * /domain When you are prompted to type a password for the user, type the new password, not the existing password. After you type the new password, the system prompts you to retype the password to […]

Linux / UNIX: Restrict Access To A Given Command

How do I restrict access to a given command for instance /opt/apps/start, to authorized users only under Linux / UNIX / BSD operating system? You need to use traditional Unix groups concept to enhance security including restricted access to a given command. Step # 1: Create and Maintain a Group For All Authorized Users Create […]

Windows 7 Command Line Utilities and Commands

The following is a (hopefully) comprehensive list of command line commands and utilities for Windows 7. Click the links for further details and examples of each command. arp The arp command is used to display or change entries in the ARP cache. assoc The assoc command is used to display or change the file type […]