Jump to content
meisme

Camna Nak Guna Call Dan Start Command

Recommended Posts

1stly aku mintak maaf la kalo tersalah Forum. Aku dh cari forum yg sesuai tp x jumpa.

Aku ni bru blajar tentang program batch. Ada beberapa pkara aku musykil

Aku nak tnya sket, "CALL" dan "START" dlm batch sama ke?

aku try "start gambar.jpg", gambar.jpg kluar

then aku try "call gambar.jpg", gambar.jpg kluar gak

satu lagi tentang nak tulis address dlm batch file

cth: "call d:\New folder\read me.txt" xleh. kluar no recogized pe tah.

aku rasa sebab ada space la

camna nak setel kan masalah ni?

satu lg

kalau nak tulis satu alamat cth. "c:\documents and settings"

perlukah kita membuat ringkasan camni " c:\docume~1\"?

aku ada baca sesetengah artikel suruh buat camtu. tp bila aku try tak jadi pon.

camna rr???

Share this post


Link to post
Share on other sites

untuk alamat yg ada space, buat kurungan "".. baru leh baca dia punya alamat..

contoh

call "C:\Documents and Settings\All Users\test.jpg"

bab call ngan start tu, kalau xsilap aku laa, call tu untuk panggil sesuatu dalam tetingkap CMD yang sama, dan start tu untuk call sesuatu dalam tetingkap CMD yang baru.. ;)

Edited by Displinx

Share this post


Link to post
Share on other sites

ada error la

so pe yg aku tulis tadi silap la

"start" bukan untuk memanggil sesuatu file

sebelum ni aku try untuk "start explorer.exe" :P my bad.

ok tQ

Share this post


Link to post
Share on other sites

ada error la

so pe yg aku tulis tadi silap la

"start" bukan untuk memanggil sesuatu file

sebelum ni aku try untuk "start explorer.exe" :P my bad.

ok tQ

kalo untuk start

tulis camnie jer...x payah bubuh ""

START MSPAINT.EXE

kalo nak jadi power pasal batch file nie...masuk forum kat signature aku tue.....

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...