Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 20th November 2011
Darkc0der Darkc0der is offline
Ceriwiser
 
Join Date: Nov 2011
Posts: 598
Rep Power: 14
Darkc0der mempunyai hidup yang Normal
Default [ASK] Batch script

Gw punya suatu script, yg membaca suatu berkas PDF, lalu akan menampilkan hasilnya di standard output. Kalau ingin outputnya disimpan di file text, tinggal d-pipe.



Misal:

foo A.pdf >> A.out



Masalahnya, di dalam satu direktori, ada puluhan berkas PDF. Gimana yaa memanggil script foo diatas untuk setiap berkas PDF yg ada ?




Code:

for %%X in (*.pdf) do echo %%X

Itu buat traversing setiap file PDF yg ada, trus gimana njalanin script nya?



Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


 


All times are GMT +7. The time now is 04:54 AM.


no new posts