Re: [ITCENTER] [Help] Batch file - open current foder
On Monday 09 October 2006 08:20, Setyo Suhartanto wrote: Misal: file explorer.bat berada di E:\Apps1\explorer.bat Maka ketika dijalankan terbuka windows explorer langsung ke directory E:\Apps1 coba: explorer %CD% (seingat saya %CD% sudah termasuk driveletter, dan default current directory u/ batch file adalah direktori tempat batch file itu berada). Tapi mungkin cuma berlaku u/ W2K ke atas... -- www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] ## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ## ## Jaket ITCENTER tersedia di http://shop.itcenter.or.id Yahoo! Groups Links * To visit your group on the web, go to: http://standraise.corp.yahoo.com/group/ITCENTER/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://standraise.corp.yahoo.com/group/ITCENTER/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
(Closed) Re: [ITCENTER] [Help] Batch file - open current foder
LOL, gak kepikir pake %CD% Huehehe... thx a lot ya, its work :) Dari kemaren utak atik parameter %1 gak jalan2 :P Regards. Setyo Suhartanto On 10/9/06, William S [EMAIL PROTECTED] wrote: On Monday 09 October 2006 08:20, Setyo Suhartanto wrote: Misal: file explorer.bat berada di E:\Apps1\explorer.bat Maka ketika dijalankan terbuka windows explorer langsung ke directory E:\Apps1 coba: explorer %CD% (seingat saya %CD% sudah termasuk driveletter, dan default current directory u/ batch file adalah direktori tempat batch file itu berada). Tapi mungkin cuma berlaku u/ W2K ke atas... [Non-text portions of this message have been removed] -- www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] ## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ## ## Jaket ITCENTER tersedia di http://shop.itcenter.or.id Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/ITCENTER/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/ITCENTER/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[ITCENTER] [Help] Batch file - open current foder
Guys, minta bantuan dikit dong. Lagi iseng mau bikin interaktif CD, diantaranya ada menu browse isi CD tsb. Karena pertimbangan drive CD bisa berbeda2 (D, E, F, bahkan Z mungkin) maka gimana caranya bikin batch file untuk buka directory dari tempat eksekusi file berada. Misal: file explorer.bat berada di E:\Apps1\explorer.bat Maka ketika dijalankan terbuka windows explorer langsung ke directory E:\Apps1 Nantinya saya akan letakkan file explorer.bat itu di beberapa folder lain tanpa perlu merubah parameter didalamnya. Thx buat bantuannya. [Non-text portions of this message have been removed] -- www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] ## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ## ## Jaket ITCENTER tersedia di http://shop.itcenter.or.id Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/ITCENTER/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/ITCENTER/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/