Windows Commands and Utilities

Published: 27 Oct 2015 Category: working_on_windows

Commands

Create symbolic link in Windows 7

Use admin privileges to run Command Prompt.

Example:

D:\coding\Python_VS2015\densebox\fast-rcnn\data>mklink /D VOCdevkit2007 D:\data\public_dataset\VOCdevkit

Command Parameters:

MKLINK [[/D] | [/H] | [/J]] Link Target

/D      Creates a directory symbolic link.  Default is a file
symbolic link.
/H      Creates a hard link instead of a symbolic link.
/J      Creates a Directory Junction.
Link    specifies the new symbolic link name.
Target  specifies the path (relative or absolute) that the new link refers to.

Ref:

DIR: Display a list of files and subfolders

http://ss64.com/nt/dir.html

List all files/folders into a txt

dir /s /b /a *.jpg > list.txt

List only folders into a txt

dir /s /b /ad *.jpg > list.txt

List only files into a txt

dir /s /b /a:-d *.mp4 *.mkv > list.txt

Arrays, linked lists and other data structures in cmd.exe (batch) script

http://stackoverflow.com/questions/10166386/arrays-linked-lists-and-other-data-structures-in-cmd-exe-batch-script/10167990#10167990

Loop through each line in a text file using a Windows batch file

for /F "tokens=*" %%A in (myfile.txt) do [process] %%A

Download

bitsadmin  /transfer job_name       /download  /priority priority   URL  local\path\file

Example:

bitsadmin  /transfer mydownloadjob  /download  /priority normal   http://example.com/filename.zip  C:\Users\username\Downloads\filename.zip

Utilities

XX-Net: a web proxy tool

A Utility to Unassociate File Types in Windows 7 and Vista

http://www.winhelponline.com/blog/unassociate-file-types-windows-7-vista/

Video DownloadHelper

BulkFileChanger

  • intro: “BulkFileChanger is a small utility that allows you to create files list from multiple folders, and then make some action on them - Modify their created/modified/accessed time, change their file attribute (Read Only, Hidden, System), run an executable with these files as parameter, and copy/cut paste into Explorer.”
  • website: http://www.nirsoft.net/utils/bulk_file_changer.html

AVS Video ReMaker

AVS Audio Editor

  • intro: Cut, join, trim, mix, delete parts, split audio files. Apply various effects and filters. Record audio from various inputs. Save files to all key audio formats.
  • website: http://www.avs4you.com/AVS-Audio-Editor.aspx

Dos2Unix / Unix2Dos - Text file format converters

Git for Windows 国内下载站

Zotero: a free, easy-to-use tool to help you collect, organize, cite, and share your research sources

https://www.zotero.org/