Calling a batch file from another batch file

Unlike as it is in Linux, calling a batch file from another batch file causes the first process to be overload by the new one. So, as a C64 programmer would put it, it is rather a “GOTO” than a “GOSUB”. In order to avoid this problem, put a “call” command before calling the second batch file.

call sub.bat “Hallo”
call sub.bat “World”

Telling Eclipse to ignore .svn folders

eclipse usually builds the .class files in a seperate binary folder named bin. Therefore it copies the directory structure and files from the src folders, which means that eventual .svn folders are duplicated in the bin tree, leading to irritation among subversion clients such as TortoiseSVN.

In order to overcome the problem, you can add .svn as a filtered resource. Open the properties dialog for your workspace or for your project, go to: Java Compiler | Building and add “.svn” to the list of ‘Filtered resources:’ under ‘Output folder’.

Become a Programmer, Motherfucker

Interesting webpage promoting the ideal of a real programmer in contrast to a managing software development.

It features also a huge list of free books on Assembly Language, Bash, C / C++, C#, Clojure, ColdFusion, Delphi / Pascal, Erlang, F#, Forth, Haskell, HTML / CSS, Java, JavaScript, Latex, Lisp, Lua, Nemerle, Oberon, Objective-C, OCaml, Oracle PL/SQL, Parrot / Perl 6, Perl, PHP, PowerShell, Prolog, Python, R, Ruby, Scala, Scheme, Smalltalk, SQL, etc.

http://programming-motherfucker.com

Shutdown/Restart using Remote Desktop

When you are using the Remote Desktop protocol to control a remote Windows computer, there is no option for Shutdown or Restart in the Start Menu.

If you actually want to restart the remote machine, you need to do press CTRL-ALT-END (STRG-ALT-ENDE on german keyboard) and then select either Shutdown or Restart.