Dos Command Untuk Batch File

Dos command. Berikut ini kumpulan

  • system(‘php D:\DATA.WEB\contoh.php’);
  • xcopy /y “D:\DATA.WEB\backup\master.txt” “D:\Batch\”
  • robocopy M:\ D:\02.batch\ (alternatif xcopy untuk Windows 2008)
  • datemath – mengurangi tanggal h-1 – http://ss64.com/nt/syntax-datemath.html

explorer

explorer \\LaptopNo123\C$\Program Files\

xcopy

set namafile=090012.mp3
set namafile10=090012
set folder10=D:\94.DATA.MP3\MP3.Quran\090.albalad\
echo Hai
for /l %%x in (1, 1, 10) do (
echo %%x
::echo xcopy %folder10%%namafile% %folder10%%namafile10% %%x.mp3
xcopy /Y /I %folder10%%namafile% %folder10%%namafile10%%%x.mp3
)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>