Now you can add or delete any text, move images and objects, and more. Have a fun!
Tested on Internet Explorer 8 and 6, Firefox 3.5.2, Opera 10, Google Chrome 184.108.40.206 and Apple Safari 4.0.3.
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.
:: Name: file_size.bat
:: Author wishmesh.com
:: Calculate file size in KB from %1
set /a size = %~z1 / 1024
echo %size% KB
Quotes necessary when there are spaces in file or folder name.
Tested on Windows XP and Windows Server 2003.
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 of Retries, etc.
- ability to copy NTFS permissions and attributes including timestamps;
- synchronize mode;
- and a lot more.
Example, copy src_folder to dst_folder including sub-folders:
robocopy C:\src_folder C:\dst_folder /E