File-Dir

« Older   Newer »
  Share  
The_Jokers
CAT_IMG Posted on 27/1/2011, 14:54     +1   -1




Ciao a tutti oggi non avevo nulla da fare ecco cosa è uscito.
Il programma serve a controllare il file al interno del vostro pc.
-Elimina
-Cestina
-Sposta
-Crea Dir
Download in fondo al messaggio
Ecco La sorgente
#cs ----------------------------------------------------------------------------

Version: 1.0
Author: The JokerS

Script Function:
Funzioni su file e dir
#ce ----------------------------------------------------------------------------

; Script Start

#include <buttonconstants.au3>
#include <editconstants.au3>
#include <guiconstantsex.au3>
#include <windowsconstants.au3>
#Include <guiedit.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("File-Dir .:The Jokers:.", 615, 238, 192, 124)
$per1 = GUICtrlCreateInput("C:", 32, 8, 121, 21)
$per2 = GUICtrlCreateInput("C:", 216, 8, 121, 21)
$move = GUICtrlCreateButton("Muovi", 32, 40, 75, 25)
$del = GUICtrlCreateButton("Elimina", 128, 40, 75, 25)
$cdir = GUICtrlCreateButton("Crea Dir", 224, 40, 75, 25)
$log = GUICtrlCreateEdit("", 368, 0, 241, 217)
GUICtrlSetData(-1, "")
$cest = GUICtrlCreateButton("Cestina", 32, 72, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $move
$le1 = GUICtrlRead($per1)
$le2 = GUICtrlRead($per2)
if $le1 = "" then $le1 = InputBox("Errore 0x01","Inserisci Percorso, Percorso Non Inserito")
if $le2 = "" Then $le2 = InputBox("Errore 0x01.5","Inserisci Percorso, Percorso Non Inserito")
if FileExists($le1) then $le1 = InputBox("Errore 0x02","Inserisci Percorso,Percorso Errato")
if FileExists($le2) = 0 then $le2 = InputBox("Errore 0x02.5","Inserisci Percorso,Percorso Errato")
$cont = FileMove($le1,$le2)
if $cont = 0 then MsgBox(16,"Errore 0x03","Il File Non è Stato Spostato")
if $cont = 1 then
MsgBox(0,"Sucesso!","Il File è Stato Spostato")
_GUICtrlEdit_AppendText($log,"Il File"&$le1&" è stato spostato in "&$le2&@CRLF)
EndIf
case $del
$le1 = GUICtrlRead($per1)
if $le1 = "" then $le1 = InputBox("Errore 0x01","Inserisci Percorso, Percorso Non Inserito")
if FileExists($le1) then $le1 = InputBox("Errore 0x02","Inserisci Percorso,Percorso Errato")
$cont = FileDelete($le1)
if $cont = 0 then MsgBox(16,"Errore 0x04","Il File Non è Stato Eliminato")
if $cont = 1 then
MsgBox(0,"Sucesso!","Il File è Stato Eliminato")
_GUICtrlEdit_AppendText($log,"Il File"&$le1&" è stato eliminato"&@CRLF)
EndIf
case $cdir
$le1 = GUICtrlRead($per1)
if $le1 = "" then $le1 = InputBox("Errore 0x01","Inserisci Percorso, Percorso Non Inserito")
if FileExists($le1) then $le1 = InputBox("Errore 0x02","Inserisci Percorso,Percorso Errato")
$cont = DirCreate($le1)
if $cont = 0 then MsgBox(16,"Errore 0x05","La Dir non è stata creata")
if $cont = 1 then
MsgBox(0,"Sucesso!","La Dir è Stata creata")
_GUICtrlEdit_AppendText($log,"LA dir "&$le1&" è stata creata"&@CRLF)
EndIf
case $cest
$le1 = GUICtrlRead($per1)
if $le1 = "" then $le1 = InputBox("Errore 0x01","Inserisci Percorso, Percorso Non Inserito")
if FileExists($le1) then $le1 = InputBox("Errore 0x02","Inserisci Percorso,Percorso Errato")
$cont = FileRecycle($le1)
if $cont = 0 then MsgBox(16,"Errore 0x06","Il file non è stato cestinato")
if $cont = 1 then
MsgBox(0,"Sucesso!","Il File è Stato cestinato")
_GUICtrlEdit_AppendText($log,"Il File "&$le1&" è stato cestinato"&@CRLF)
EndIf
EndSwitch
WEnd



FrontBack - Security Decompiler Team

SecureFile: QUI


Edited by FrontBack - 24/1/2013, 17:47
 
Top
xMasteRx
CAT_IMG Posted on 27/1/2011, 16:54     +1   -1




bravo, ho letto soltanto il source lol
 
Top
BlackHack00
CAT_IMG Posted on 27/1/2011, 17:14     +1   -1




Bravo =)
 
Top
/dev/random
CAT_IMG Posted on 27/1/2011, 17:17     +1   -1




lol i security decompilers dove sono? ù.ù xDxDxD
 
Top
xMasteRx
CAT_IMG Posted on 27/1/2011, 17:25     +1   -1




CITAZIONE (/dev/random @ 27/1/2011, 17:17) 
lol i security decompilers dove sono? ù.ù xDxDxD

s.d.s
SPOILER (click to view)
Soltanto Dio lo Sa XD
[sono ateista u.u]
 
Top
FrontBack
CAT_IMG Posted on 27/1/2011, 17:50     +1   -1




tra poco saprete il responso ;)
 
Top
CAT_IMG Posted on 28/1/2011, 00:43     +1   -1
Avatar

So creare belle gui

Group:
Member
Posts:
374
Reputazione:
0
Location:
C:\Windows\System32 \hacktooth.exe

Status:


gud!
 
Top
T3rrorisT
CAT_IMG Posted on 28/1/2011, 20:53     +1   -1




be ci sono alcuni bug ma per il resto va bene. Prova a fare anche che puoi visualizzare i file e le cartelle presenti nel PC in una listview o treeview :) E'un buon esercizio.
 
Top
The_Jokers
CAT_IMG Posted on 28/1/2011, 21:13     +1   -1




grazie lo sto portando alla versione 2.0

mi elencate i bug possibilmente grazie
 
Top
FrontBack
CAT_IMG Posted on 29/1/2011, 16:11     +1   -1




devi avvisare o me o cale quando vuoi mettere la nuova versione che provvediamo ad aggiornare i trusted link ;)
 
Top
The_Jokers
CAT_IMG Posted on 29/1/2011, 19:58     +1   -1




si e se voglio cambiare descrizione
 
Top
FrontBack
CAT_IMG Posted on 29/1/2011, 20:19     +1   -1




CITAZIONE (The_Jokers @ 29/1/2011, 19:58) 
si e se voglio cambiare descrizione

:huh:
se intendi la descrizione del programma certo, basta che se vuoi che scarichino il tuo programma è meglio che non modifichi il link XD
 
Top
11 replies since 27/1/2011, 14:54   290 views
  Share