Articles tagged as “commands

Here is a list of all articles tagged as “commands”. If you enjoy the high-quality content that I provide here at Perishable Press, you may want to subscribe to our main content feed to stay current.

Associate Any File with Notepad in Five Seconds
In my article, Associate Extensionless Files with Notepad, I explain how to navigate the labyrinthine maze of Windows dialogue menus to assign Microsoft’s Notepad text editor as the opening application for files without extensions. In this post, I’ll show you how to associate any file type with any program (including Notepad) in less than five seconds. Ready? Don’t blink, you’ll miss it.. ;) Modify any file extension association in five seconds Open the Windows command prompt and enter the following command: assoc .extension=fileType It’s that easy. What is happening here? Let’s break it down, just for fun: assoc — Windows file-association command .extension — ...
Monitoring Internet Activity for Windows and Mac
Monitoring your computer’s Internet activity is a powerful tool, enabling you to: keep an eye on background processes reveal viruses and other malware expose unauthorized access monitor running programs log process activity ..and much more. The best part? It’s super-easy. Here’s how I do it on Windows XP: Open the command prompt and type “netstat -n 5 > scan.txt” After a minute or two (or any amount of time), press Ctrl+C to stop monitoring Type “scan.txt” to open the log file and check the results There are many ways to modify the log output using various parameters. Here are a couple of alternate commands you can try: netstat -b 5 > scan.txt netstat -nao 5 > scan.txt The second command provides PID ...
MySQL Magic: Find and Replace Data
Recently, I needed to find and replace all instances of “http://website” in the wp_comments table of the WordPress database. Fortunately, SQL provides a simple way to find and replace data with its wonderful UPDATE function. General Example Using the SQL UPDATE command is straightforward. Here is the general syntax: UPDATE table_name SET field_name = replace( field_name, 'string_to_find', 'string_to_replace' ) ; Simply replace the table_name and both instances of field_name with your specific information, and then edit string_to_find, and string_to_replace with the desired values. This is pretty standard stuff, but it is always a good idea to backup your database before executing commands. To run ...
Computer Flashback: Windows 98 Run Commands
Even with all the fancy-pants new features found in Windows XP and now Vista, Microsoft Windows 98 (Second Edition) remains our favorite Windows-flavored operating system. We love it so much, we still use it on one of our trusty laptops. Over the years, we have discovered several very useful functions available via the command line or even the “Run” prompt (Start → Run...). Anyway, without spending too much time researching or explaining these wonderful tools, we figured posting the information online may prove beneficial at some point in the future. So, without further ado, we present this working repository of helpful ...
Basic DOS Commands
DOS (Disk Operation System) is a tool which allows you to control the operation of the IBM PC. DOS is software which was written to control hardware. Here is a summary of some essential DOS commands. Change Drive To change the default drive indicated at the DOS prompt, type the letter of the drive followed by a colon (:). For example, to change the drive from "X" to "Y&quot: X:\> Y: [enter] Change Directory Use the CHDIR (CD) command to change the directory. For example, to change the directory from "C:\Programs\folder" to "D:\arcade\folder": C:\Programs\folder> cd D:\arcade\folder [enter] Then, to navigate to "digdug", a subdirectory of "D:\arcade\folder": D:\arcade\folder> cd digdug [enter] Likewise, "cd .." navigates to the parent directory (i.e., up one ...

Attention: Do NOT follow this link!