Personal web page:
Emmanuel Branlard
Menu
Home
Blog/Tags
Expand child menu
#wind-energy
#programming
#publications
#matlab
#linux
Work
Expand child menu
papers
#wind-energy
#programming
#linux
software
music
sites
Publications
Contact
CV
HOME
tags
SEARCH RESULTS FOR: #DOS
Extract SVN revision number, revision range, branch name from a given directory
(
edit
)
This posts presents a set of commands to determine the SVN revision number, revision range and branchname of a current directory. The in...
DOS - Check error level (return status) of a command
(
edit
)
rem Call a command sed.exe -i "s/foo/bar/g" foo.txt rem Check status call :check rem Function to check error level :chec...
DOS - Get script path
(
edit
)
Getting script path: set SCRIPT_PATH=%~dp0
DOS - Loop through files in alphabetical order
(
edit
)
The trick is to use dir /b /on: for /F "tokens=*" %%f in ('dir /b /on "C:\Dir\*.exe"') do s...
DOS - Get basename of a file
(
edit
)
FOR %%i IN ("%FILENAME%") DO ( SET BASENAME=%%~ni)
DOS - Basics and useful commands
(
edit
)
Batch scripts Setting a variable set BRANCH=trunk Arguments: %1, %2 Characters are escaped with ^, e.g. ^| and ...
Main tags:
#
Wind-energy
#
Programming
#
Linux
#
Physics
#
Publications
#
Software
#
Web sites
#
Matlab
#
Vim
#
SQL
#
Fortran
#
DOS
#
Music
#
Books