Probe Software Users Forum

Software => Probe for EPMA Utilities => Topic started by: Probeman on December 07, 2017, 06:52:20 PM

Title: Windows Tips and Tricks
Post by: Probeman on December 07, 2017, 06:52:20 PM
I'm starting this topic because there's a number of cool tricks I've learned that have been helpful for my own work, especially with regard to command prompt windows.

For example, did you know that in Windows Explorer, when you hold the shift key and right-click the mouse on a folder, you get this menu:

(https://probesoftware.com/smf/gallery/395_07_12_17_6_48_59.png)

This menu opens a command prompt in the folder selected as seen here:

(https://probesoftware.com/smf/gallery/395_07_12_17_6_54_29.png)

This window is useful for running batch files or other commands.

Another example, when you are in the folder at this command line, to get an editable text file containing the files in that folder, simply type:

dir *.* > files.txt

or any other filename you would like to save the output to.  Then open the file in any text editor.
Title: Re: Windows Tips and Tricks
Post by: Mike Matthews on December 08, 2017, 09:48:08 AM
How many times have I used shift and right click to get to 'open with...' and never spotted that 'open command window here' :o

One tip I got told that I find particularly useful for keeping a maintenance log file: open a new text file and put .LOG on it's own on the first line. Every time you open the file thereafter the current date and time is automatically appended to the end of the file. Put a shortcut to the file on the desktop and it becomes super easy to add date stamped log entries as and when you need.
Title: Re: Windows Tips and Tricks
Post by: jrminter on July 27, 2018, 05:14:04 PM
Just saw this old but useful tip from Probeman. I noticed the choice was missing from my right-click menu. Stackoverflow to the rescue... Can't get easier than this: Type "cmd" in the location bar.

For an English keyboard, "Alt-D" shifts focus to the location bar, so the quick way is to type "Alt-D" and type "cmd". Sweet!