Jump to content

Cdrom Dan Kopyalama


UZUNLAR
 Share

Recommended Posts

for %%i in (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (
xcopy "%%i:\LTSC_Integrate\tools\oscdimg.exe" C:\Work\Tools\
xcopy "%%i:\LTSC_Integrate\x64\*.*" C:\Work\Updates\
)

YUKARIDAKİ gibi...........

xcopy G:\  C:\Work\DVD\ /e /h                    =  Yapmak isteyipte yapamadığım kodun  Türkçe Meali  :  Eyyyy kod !!       Windows Gezgini  ile  extract  ettiğim  ISO  kalıbının  olduğu DVDROM 'un   HARFINI bul  ve  git tüm içeriği  C:\Work \DVD \/e/h     kopyala.

Yani ;     xcopy   nin önüne       " G:\ "    harfini    elle yazmamış  olacam.       

xcopy G:\  C:\Work\DVD\ /e /h  

Kod yazan üstadlardan bekliyorum   :)   

Link to comment
Share on other sites

  • Editor

bende cdrom olmadığı için deneyemedim aşağıdaki kod cdromun sürücünü harfini   bulur ve ekrandada gösterir sanırım sizin için önemli olan cdromu harf yazmadan bulması

Spoiler

@echo off
setlocal
for /f "skip=1 tokens=1,2" %%i in ('wmic logicaldisk get caption^, drivetype') do (
  if [%%j]==[5] echo %%i
  )
endlocal
 

 

Edited by köylü
  • Like 2
  • Thanks 1
Link to comment
Share on other sites

;~ #include <array.au3>
#include <WinAPIShellEx.au3>

$drive = DriveGetDrive("CDROM")
If Not @error Then
;~ 	_ArrayDisplay($drive)
	For $CdDVD = 1 To $drive[0]
		If DriveStatus($drive[$CdDVD] & '\') = "READY" Then
			ConsoleWrite($drive[$CdDVD] & " " & DriveStatus($drive[$CdDVD]) & @CRLF); CD veya DVD Listelemek için kontrol edebilirsin
			_WinAPI_ShellFileOperation($drive[$CdDVD] & "\*.*", @HomeDrive & "\" & "Work\DVD", $FO_COPY, $FOF_SIMPLEPROGRESS);$FOF_SIMPLEPROGRESS kısmını silip $FOF_SILENT eklersen tamamen sessiz kopyalar
		EndIf
	Next
EndIf

 

  • Thanks 1
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...