Categories
- Computers (38)
- Databases (2)
- OS (50)
- Programming (49)
- Web (34)
Calendar
May 2012 M T W T F S S « Apr 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Featured
Archives
- April 2012 (2)
- March 2012 (2)
- February 2012 (2)
- December 2011 (3)
- November 2011 (2)
- October 2011 (1)
- September 2011 (2)
- August 2011 (2)
- July 2011 (4)
- June 2011 (2)
- May 2011 (1)
- April 2011 (6)
- March 2011 (4)
- February 2011 (2)
- January 2011 (4)
- December 2010 (3)
- November 2010 (6)
- October 2010 (8)
- September 2010 (6)
- August 2010 (1)
- July 2010 (5)
- June 2010 (2)
- May 2010 (2)
- April 2010 (5)
- February 2010 (1)
- January 2010 (2)
- December 2009 (2)
- November 2009 (2)
- October 2009 (2)
- September 2009 (5)
- August 2009 (11)
- July 2009 (7)
Tags
-
Recent Posts
- How to execute JavaScript after inserting into element.innerHTML automatically
- Disappearing folder – bug in Windows 7
- When Windows automatic update suddenly stops updating Windows automatically
- Strange MAC addresses in your network (00:0D:3A:D7:F1:40 – 00:0D:3A:FF:FF:FF)
- Watch window shows ‘CXX0058: Error: overloaded operator not found’
Recent Comments
- Tom Colvin on CreateProcessAsUser fails on Windows XP with System error 233
- Minnhack on No ODBC driver after installing Oracle 11g R2
- Niels on IIS 7.5 error: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list
- Richard on Ubuntu Server: rename eth1 to eth0
- Anonymous on IIS 7.5 error: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list
Menu
Tag Archives: batch files
Underused features of Windows batch files
StackOverflow have another interesting topic about: Underused features of Windows batch files. Of course there are many things I didn’t know about. Some highlights: PUSHD path Takes you to the directory specified by path. POPD Takes you back to the … Continue reading
xcopy problem – Invalid drive specification – 0 File(s) copied
Recently I started getting the following errors from one of my batch files. Invalid drive specification 0 File(s) copied The problem was, that I didn’t have specified drive at all, because I was using UNC path (\\ComputerName\SharedFolder\Resource). So, xcopy is … Continue reading
How to delete all folders in current directory
How to delete all folders in current directory using command line (cmd.exe) or batch files? How to delete all empty directories in current folder: FOR /D %f IN (*.*) DO RD “%f” How to delete all directories / folders in … Continue reading
Getting file size in KB using batch file
To get file size using batch file, we use variable with modifier. Then set /a, performs match operation (divide by 1024). Unlike other examples, this example works on any Windows language. @echo off :: Name: file_size.bat :: Author wishmesh.com :: … Continue reading
xcopy alternative for Windows Vista and Windows Server 2008 – ROBOCOPY
Robocopy – Robust File Copy for Windows is bundled with Windows Server 2008, Windows 7 and Vista. If you can not do something in xcopy, you probably can in robocopy. For example robocopy can: resume on network error, specify number … Continue reading
Batch script to test if folder / directory is empty
Yesterday I needed a Dos batch script to check if folder is empty. A little Google search revealed some methods: Using dir and find commands, does not work on non-english Windows versions: www.computing.net Using dir command with /a-d, does not … Continue reading