Difference between revisions of "Computer Productivity Hacks"

From TeleCafeWiki
Jump to navigation Jump to search
(→‎Windows Command Line: A Task-Based Guide to Windows PowerShell Cmdlets)
(Text Extraction)
Line 4: Line 4:
  
 
=== Windows Command Line ===
 
=== Windows Command Line ===
* [http://stackoverflow.com/questions/15165295/a-powershell-script-to-list-all-files-and-folders-within-a-directory A PowerShell script to list all files and folders within a directory]
 
: This tutorial contains several working answers for using [[wikipedia:Windows PowerShell|Windows PowerShell]] to list files and folders.
 
 
 
* [http://technet.microsoft.com/en-us/scriptcenter/dd772285.aspx A Task-Based Guide to Windows PowerShell Cmdlets]
 
* [http://technet.microsoft.com/en-us/scriptcenter/dd772285.aspx A Task-Based Guide to Windows PowerShell Cmdlets]
 
: Cmdlets are the heart-and-soul of Windows PowerShell, Microsoft's latest command shell/scripting language.
 
: Cmdlets are the heart-and-soul of Windows PowerShell, Microsoft's latest command shell/scripting language.
 
* [http://stackoverflow.com/questions/3447503/how-to-get-a-list-of-sub-folders-and-their-files-ordered-by-folder-names How to get a list of sub-folders and their files, ordered by folder-names]
 
: Works with [[wikipedia:Command Prompt|cmd.exe]], but doesn't seem to work with [[wikipedia:Windows PowerShell|Windows PowerShell]].
 
  
 
* [http://www.computerhope.com/robocopy.htm Microsoft DOS robocopy command]
 
* [http://www.computerhope.com/robocopy.htm Microsoft DOS robocopy command]
Line 26: Line 20:
 
: Example: <code>C:\Users\me\Downloads\MyFolder> <span style="color:DarkOrange">dir /b > filelist.txt</span></code>
 
: Example: <code>C:\Users\me\Downloads\MyFolder> <span style="color:DarkOrange">dir /b > filelist.txt</span></code>
 
:: (The text in orange shows the command used once you've navigated into the directory from which you want to generate the list of file names.)
 
:: (The text in orange shows the command used once you've navigated into the directory from which you want to generate the list of file names.)
 +
 +
* [http://stackoverflow.com/questions/15165295/a-powershell-script-to-list-all-files-and-folders-within-a-directory A PowerShell script to list all files and folders within a directory]
 +
: This tutorial contains several working answers for using [[wikipedia:Windows PowerShell|Windows PowerShell]] to list files and folders.
 +
 +
* [http://stackoverflow.com/questions/3447503/how-to-get-a-list-of-sub-folders-and-their-files-ordered-by-folder-names How to get a list of sub-folders and their files, ordered by folder-names]
 +
: Works with [[wikipedia:Command Prompt|cmd.exe]], but doesn't seem to work with [[wikipedia:Windows PowerShell|Windows PowerShell]].
  
 
== Folder &amp; File Compression ==
 
== Folder &amp; File Compression ==
Line 33: Line 33:
 
* [http://www.codeproject.com/Questions/549874/Batchplusfileplus-3aplusCompressplusfolderplusorpl Batch file : Compress folder or file using windows compress]
 
* [http://www.codeproject.com/Questions/549874/Batchplusfileplus-3aplusCompressplusfolderplusorpl Batch file : Compress folder or file using windows compress]
 
: To compress a folder without using any particular compression software.
 
: To compress a folder without using any particular compression software.
 +
 +
== Text Extraction ==
 +
* [http://capture2text.sourceforge.net/ Capture2Text]
 +
: Capture2Text enables users to do the following:
 +
# Optical Character Recognition (OCR)
 +
# Speech Recognition
 +
 +
== See Also ==
 +
* [[Spreadsheet Tricks]]
 +
* [[User:Dave/Web Hack Notes (Non-Wiki)]]

Revision as of 16:41, 8 February 2014

Command Line

Quick super fast course in using the command line. It is intended to be done rapidly in about a day or two, and not meant to teach you advanced shell usage.

Windows Command Line

Cmdlets are the heart-and-soul of Windows PowerShell, Microsoft's latest command shell/scripting language.
Robocopy: A robust file copy command for the Windows command line.
Each command is linked to more info about the particular command.
The xcopy command is a Command Prompt command used to copy one or more files and/or folders from one location to another location.

Generate File List

Example: C:\Users\me\Downloads\MyFolder> dir /b > filelist.txt
(The text in orange shows the command used once you've navigated into the directory from which you want to generate the list of file names.)
This tutorial contains several working answers for using Windows PowerShell to list files and folders.
Works with cmd.exe, but doesn't seem to work with Windows PowerShell.

Folder & File Compression

Example: for /d %%X in (*) do "c:\Program Files\7-Zip\7z.exe" a "%%X.zip" "%%X\"
To compress a folder without using any particular compression software.

Text Extraction

Capture2Text enables users to do the following:
  1. Optical Character Recognition (OCR)
  2. Speech Recognition

See Also