Categories
- Computers (41)
- Databases (3)
- OS (53)
- Programming (56)
- Web (36)
Calendar
May 2013 M T W T F S S « Feb 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
- February 2013 (2)
- January 2013 (2)
- December 2012 (2)
- August 2012 (2)
- July 2012 (3)
- 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
.bat .net ASP.NET batch files Benchmark Bug C# c++ cmd CSS Debug DHCP Dos Error ESXi files HTML http IIS IP JavaScript Links Linux network NTFS PHP PowerShell speed STL Ubuntu Urih VC++ Vista Visual Studio VMware VS VS2010 web website Windows Windows 7 Windows API Windows Server Windows Update Windows XP-
Recent Posts
- RAID 1 (mirror) read speed as fast as RAID 0 (stripe)
- Executing very large script on Microsoft SQL Server 2008 R2 fails
- Building OpenSSL with Visual Studio 2010 for x64 / Win64 causes error
- Did you know that IP addresses (IPv4) can be written in shorter representations?
- C# / .NET MessageBox is hidden behind the Form
Recent Comments
- Minhaj on ASP.NET 4.0 – An error occurred during local report processing
- Ken on On production machine: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts.
- Andi on Batch script to test if folder / directory is empty
- Anonymous on Batch script to test if folder / directory is empty
- Judy on VS2010: Project not selected to build for this solution configuration
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