Jump to content
Son zamanlarda artan kullanıcı hesap hırsızlıkları sebebiyle tüm kullanıcılara şifre sıfırlama maili gönderilmiştir. Lütfen güveli şifreler seçiniz. Mevcut e-mail adresinize erişemiyorsanız, en aşağıdaki destek linkinden bize ulaşınız. ×

İleri düzey AutoIT örnekleri


sk8er_boi
 Share

Recommended Posts

$suruculer = DriveGetDrive("ALL")
$istenensurucu = ""
for $i = 1 to $suruculer[0]
	if FileExists($suruculer[$i]&"\boot\vestel\install.wim") Then
		$istenensurucu = $suruculer[$i]
		ExitLoop
	EndIf
Next
if not $istenensurucu = "" Then 
;~ 	Burası sende artık
Else
	MsgBox(0,"","Bulamadık")
EndIf

Gerisi sende. CMD'ye komutları da basit bi şekilde şöyle gönderebilirsin:

ShellExecute("cmd.exe","/k diskpart /s "&$istenensurucu&"\boot\vestel\DiskiYapilandir.txt")

Link to comment
Share on other sites

6 saat önce, blackman12 yazdı:

$suruculer = DriveGetDrive("ALL")
$istenensurucu = ""
for $i = 1 to $suruculer[0]
	if FileExists($suruculer[$i]&"\boot\vestel\install.wim") Then
		$istenensurucu = $suruculer[$i]
		ExitLoop
	EndIf
Next
if not $istenensurucu = "" Then 
;~ 	Burası sende artık
Else
	MsgBox(0,"","Bulamadık")
EndIf

Gerisi sende. CMD'ye komutları da basit bi şekilde şöyle gönderebilirsin:

ShellExecute("cmd.exe","/k diskpart /s "&$istenensurucu&"\boot\vestel\DiskiYapilandir.txt")

sağolun hocam uzun bir şekilde çözmüştüm hemen bunu ekliyim onun yerine

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...