#cs Dieses Programm ist der send_to uploader in sendto/UPLOAD Unterordner anlegen und los gehts (verwendet upload_script) #ce Opt("TrayIconHide", 1);0=show, 1=hide tray icon $tc = getvol("TC"); $dir = @scriptdir for $x = 1 to $cmdline[0] $file = $cmdline[$x] $command = $tc & "\data\upload_script.exe """ & $dir & """ """ & $file & """" ; msgbox(0,0,$command) runwait($command) ; msgbox(0,0,@error) next func getvol($type) if($type="SD") Then $file = "SDToken" EndIf if($type="TC") Then $file = "TCToken" endif $var = DriveGetDrive( "all" ) If NOT @error Then For $i = 1 to $var[0] $status = DriveStatus( $var[$i]); if($status = "READY") then ;if($var[$i] <> "a:" and $var[$i] <> "b:") then if(fileexists($var[$i] & "\" & $file)) Then return $var[$i] endif endif Next EndIf return false endfunc