Dela via


Things I've Learned

ADO.NET in PowerShell...Update SQL Data Example/Sample

We have a database that stores all our configuration key/value pairs in various tables (1 per...

Date: 07/18/2008

Creating a folder/file name based on a date time stamp in NT Shell Script (Batch)

for /F "tokens=2,3,4 delims=/ " %%i in ('date /t') do set datetimefolder=%%k%%i%%j for /F...

Date: 05/16/2006

errorlevel in for loop returns exit code of iterating statement

It turns out that errorlevel is returning the exit code of iterating statement in the for loop...

Date: 02/25/2006

Notepad

Sometimes you may click the Edit menu and find that the Go To command is not available. If this is...

Date: 11/14/2005

Command Prompt Tips and Tricks

doskey.exe can be used to create macros for your custom command prompt. Just create a shortcut like...

Date: 10/30/2005