Tech blog

Solving problems

About
Contact

Archive for the ‘dos command’ tag

How to delete all files and subdirectories recursively from one directory using DOS command?

leave a comment

Use DOS command to delete all files and subdirectories from specific folder (directory) – you must not be in this folder when executing this command:

rmdir /s /q "c:\Temp\Your-Dir-With-Subdirs"
Create this directory (folder) again because it will also be deleted
md "c:\Temp\Your-Dir-With-Subdirs"
VN:F [1.9.3_1094]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)

Encoding WMP video from DOS (batch) using Expression Encoder

leave a comment

“c:\Program Files (x86)\Microsoft Expression\Encoder 2\Encoder.exe” /Source “d:\Originals\SomeOriginalVideo.wmv” /Target “d:\Encoded\EncodedVideo.wmv” /Preset “d:\Expression\Encoder\Settings\MyVideoPreset.xml”

VN:F [1.9.3_1094]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)

Written by Avivo

June 22nd, 2009 at 2:52 pm