Quick Creation of Text Files From the Command Line

It’s a sunny day here in the Seattle area, so let’s have some command line fun.  🙂 Have you ever needed to create a small text file while working at a command line?  I’ve been using the following technique since my MS-DOS days.  Creating files at the command line is very simple, using the copy…

1

Saving time when navigating directories at the Command Prompt using pushd and popd

It’s been a little while since I posted one of my favorite command line ‘tricks’… Windows XP (NT/2000/2003/etc) has two commands (pushd and popd) that save me huge amounts of time when navigating my machine’s file system from a Command Prompt window.  What these handy commands do is to create a virtual stack where you…

0

What was that cool thing you just did?

Back when I started at Microsoft, the big product was MS-DOS 5.  Of all the features in MS-DOS 5, my hands down favorite (and one I still use today) was DosKey.  You remember DosKey… It was the utility that made F7 one of the most useful keys on your keyboard. Prior to starting here, I…

6

Building a simple NetCF application from the command line - VB.NET version

A couple of weeks ago, I promised to post the VB.NET equivalent to my C# command line example. Today, I’m going to show you how to do the same thing with the VB.NET command line compiler.  In the C# post, I suggested adding the following environment variable to your sdkvars.bat file: set NETCFLIBS=”c:\program files\microsoft.net\sdk\v2.0\compactframework\windowsce” I reference the…

0

Building a simple NetCF application from the command line - C# version

Now that NetCF is part of the .NET Framework v2 SDK, I get asked how to build applications using the command line tools.  Today I’m going to show how to build a simple (single source file) C# application using csc.exe. For more complicated applications (more than one source file, building DLL assemblies at the same…

4