Subscribe
Subscribe to our newsletter and get 11 free network administrator tools, plus a 30 page user guide so you can get the most out of them.
Recent Posts
- Avoid the Windows 10 Anniversary Update!
- Windows 10 free upgrade ends today
- Remote Control Enterprise 5.6 Released
- Remote Control 5.6 Released
- Prevent the Windows 10 Download
- Remove the Windows 10 upgrade nag message
- Automatically reboot idle computers
- Enterprise Remote Control Update
- Convert Hyper-V to VMWare
- Utility to clean out temp files
- Easy solution for “Cannot delete “file name”: The file name you specified is not valid or too long.”
- Windows flaw found – Make sure you patch today
- Burn files from the command line
- Enterprise Remote Control – Security Update
- Shutdown or reboot computers remotely
- The next version of Windows – Windows 10
- Shellshock – A vulnerability to look out for
- Power up computers remotely
- New tool from SysInternals – SysMon
- Enterprise Remote Control Security Update
- Free Backup Software for Hyper-V
- Free Networking and Windows Server Tutorials
- Turn virtual machines on and off from a script (Hyper-V)
- Remote Control 5.4 MSI Distribution
- Remote Control 5.4 Distribution Update
- Boot Windows 8 from an external drive
- Remote Control 5.4 Released
- Microsoft’s best kept secret – EMET
- Force Automatic Updates – Part 2
- Remote Control Beta 2 Released
- Clean up temp files remotely – Version 2
- Enterprise Remote Control – Security Patch
- Beta – Remote Control 5.4
- Important Security Mailing Lists
- See if a program “phones home”
- Security for virtual environments
- Windows XP Support Nag Window – FYI
- Tabbed folder view for Windows
- Free IT Training materials
- USB Disabler Pro Released with Free Edition
- Block Flash Drives, Phones, and Removable Media
- Free Windows Server 2012 R2 EBook
- Cleanup temp files remotely
- A simple IP Scanner for Windows
- Enterprise Remote Control Update
- Delete temp files from all user profiles
- Execute Defrag Remotely
- Cleanup Automatic Update Files Remotely
- Command prompt replacement for Windows
- Find your Windows 8 Product Key
- Show network activity in the system tray
- New build of Enterprise remote control released
- Network Administrator Update – IE Blocker Fix
- Prevent an Internet Explorer 11 automatic install
- Free tool to remotely manage Hyper-V
- Burn a DVD or CD from the command line
- Free backup utility for virtual machines
- Remove offline printers using vbscript
- Enterprise Remote Control Released
- Activity report for Windows – See what a user has been doing
- Sprinkler system controlled by a Raspberry Pi
- Disable cloud features in Office 2013
- Enterprise Remote Control – Final Beta
- Secure the Google Chrome Web browser using Group Policy
- Enterprise Remote Control – Users Guide (Rough Draft)
- A free tab based remote desktop tool
- Enterprise Remote Control Beta Released
- Remote support without the monthly fees
- Get the dell service tag remotely
- A simple utility to help users print system information
- A Windows 2012 RDP Shadowing Alternative
- The NSA Guide to finding private information on the Internet
- Get a Network Information Tool for Windows
- Block IE 10 – Keep it out of automatic updates
- Remote Control Online Beta 4
- The Internet in 1995
- Software to help you free up hard drive space
- How to refresh group policy remotely
- Remove unwanted programs easily
- New version of SystemInfo.exe Released
- Import a .reg file remotely
- How your users can easily report their system information to you
- How to list all USB devices on your network
- Remote Control Online Beta 3
- Force windows updates remotely – even when WSUS can’t
- Enable File and Printer sharing from a script
- Add a domain group as a local administrator from a script
- Find files quickly in Windows
- File and Drive Defrag Tool – UltraDefrag
- Peek around your network with a free utility
- Free Virtualization Software
- 10 Free E-Books from Microsoft Press
- Remote Control Online Beta 1.1
- Free E-Book – Windows 8: An overview for IT Professionals
- Remote Support over the Internet
- Windows 8 – Enable the Admin Share
- Set wireless settings from a script
- Manage automatic updates from the command line
- Easily disable file encryption
- Spy on computers remotely
Search
Archives
- August 2016 (1)
- July 2016 (1)
- May 2016 (2)
- February 2016 (1)
- July 2015 (1)
- March 2015 (3)
- February 2015 (2)
- November 2014 (2)
- October 2014 (3)
- September 2014 (3)
- August 2014 (3)
- July 2014 (3)
- June 2014 (1)
- May 2014 (3)
- April 2014 (4)
- March 2014 (4)
- February 2014 (4)
- January 2014 (4)
- December 2013 (3)
- November 2013 (3)
- October 2013 (4)
- September 2013 (4)
- August 2013 (1)
- July 2013 (5)
- June 2013 (3)
- May 2013 (5)
- April 2013 (4)
- March 2013 (5)
- February 2013 (3)
- January 2013 (3)
- December 2012 (2)
- November 2012 (4)
- October 2012 (4)
- September 2012 (4)
- August 2012 (5)
- July 2012 (3)
- June 2012 (5)
- May 2012 (4)
- April 2012 (4)
- March 2012 (4)
- February 2012 (5)
- January 2012 (4)
- December 2011 (4)
- November 2011 (5)
- October 2011 (4)
- September 2011 (5)
- August 2011 (5)
- July 2011 (4)
- June 2011 (4)
- May 2011 (4)
- April 2011 (4)
- March 2011 (5)
- February 2011 (2)
- January 2011 (4)
- December 2010 (4)
- November 2010 (3)
- October 2010 (5)
- September 2010 (3)
- August 2010 (5)
- July 2010 (5)
- June 2010 (5)
- May 2010 (5)
- April 2010 (2)
- January 2010 (1)
- September 2009 (4)
- August 2009 (4)
- July 2009 (5)
- June 2009 (9)
- May 2009 (8)
- April 2009 (3)
- March 2009 (1)
- February 2009 (2)
- January 2009 (7)
- December 2008 (11)
- November 2008 (21)
- October 2008 (10)
- September 2008 (1)
- August 2008 (2)
- July 2008 (12)
- June 2008 (3)
- May 2008 (3)
- April 2008 (4)
- March 2008 (3)
- February 2008 (8)
- January 2008 (7)
- December 2007 (7)
- November 2007 (17)
- October 2007 (23)
- September 2007 (19)
- August 2007 (25)
- July 2007 (2)
- June 2007 (11)
- May 2007 (1)
- April 2007 (6)
- March 2007 (6)
- February 2007 (6)
- January 2007 (10)
- December 2006 (23)
- November 2006 (35)
- October 2006 (8)
- September 2006 (6)
- July 2006 (4)
- June 2006 (8)
- May 2006 (7)
- April 2006 (14)
- January 2006 (20)
- May 2005 (1)
Burn a DVD or CD from the command line
[η»ε:Post image for Burn a DVD or CD from the command line]by Steve Wiseman on September 27, 2013 · 18 comments
Over a year ago we came out with a utility to burn files from the command line.
It was a little short on features, so this week we took some time and beefed it up.
Here are the new options:
-You can eject the drive
-You can erase disks
-You can set the label when writing to the disk
-You can close the tray
That last one was tough. Someone emailed me a while back asking if it was possible to programatically close the drive. After lots of searching we came up empty handed. During our update we found an obscure way to make it happen.
Lets see some examples.
If I wanted to backup c:\temp to my writable DVD on E: it would look like this:
If you wanted a custom volume label (It defaults to the current date), you could use this:
To eject the drive, you can call it like this:
To close that drive tray:
To erase a drive:
You can use the ERRORLEVEL value for conditional statements in your batch file (Like send you an email if it fails)
Here is an example bat file that checks the result of the BurnDisk.exe output:
REM Backup our files to DVD or CD ROM
burndisk.exe /write c:\Backup e:
REM Check our result
IF %ERRORLEVEL%==0 goto COMPLETE
REM ERROR HANDLING HERE
:COMPLETE
Get the latest copy from our website here:
One more thing…Subscribe to my newsletter and get 11 free network administrator tools, plus a 30 page user guide so you can get the most out of them. Click Here to get your free tools
{ 18 comments… read them below or add one }
If the files I want to copy to DVD require more than one DVD, is burndisk.exe able to span DVD’s the way XCOPY can span floppies?
Hi Ronny,
Burndisk is not that sophisticated….so no it can’t span. It will just give you an out of space error.
Hi,
thanks for the cool tool. Is there a way to detect if there is a empty writable CD or DVD in the drive?
Regards,
Patrick
HI Thanks for the tool. I am using windows 7. Erase and close do not work.
Any particular reason.
Regards
JPM
Is it possible to burn two folders and one file to the disk?
Hello Freeman
This sounds like an interesting option, but at this time no…there is no way to do this. You can only point it at one folder.
I get the following error when I try to burn or eject the cd:
Fatal Error: Could not init the DVD/CD Burning subsystem: Could not init
IDiscMaster2 – Error: -2147221164
You are probably running Windows XP.
I think you need to install the Image Mastering API 2.0 from MS:
http://www.microsoft.com/en-us/download/details.aspx?id=17073
Is this tool able to burn a blu ray (DL) Disk?
Thanks!
Yes it is. We will be testing it with BDXL drives soon too (50GB media)
Thanks for your answer- but BDXL is 100GB or more… π
I ma having an issue using the /noheader option and the erasing option. Adfter writing a dvd-rw I add the erasing option and it fails. here are my lines for that:
burndisk.exe /noheader
burndisk.exe /erase e:
any help would be awesome!
Hi,
Are you calling them both in a row? And what is the error?
You would want to call it like this: burndisk.exe /noheader /erase e:
But maybe I am misunderstanding.
Thanks,
Steve
Great Tool
Burns blu ray like a charm
Thanks!!!
MIchael
Brilliant tool! What about adding a progress read-out while it’s burning? i.e. 50%
Hi,
this is a very nice and slim tool.
Is there any possibility for letting the CD/DVD open.
Scenaria: Backup the files every hour on the CD and only changing the CD at the end of the day, but having all files from the day available on the CD
Thanks!
Steve,
I love this tool. Is it possible to get the source code for it so I can customize it to my specific needs? If not I understand.
Hi, Steve.
I wonder why the batch file runs perfectly ok when you manually click on it, but it doesnt run when you schedule the batch file in Windows 8.1 scheduler.