FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
||||
|
||||
Mover carpetas completas
Estimados, tengo el siguiente codigo obtenido de algun post de este club para mover una carpeta completa y sus archivos de un disco a otro.
Por lo que he probado, utiliza alguna api de Windows para realizar este proceso y mi consulta es como puedo hacer para que no pregunte si deseo sobreescribir o "combinar" carpetas ? mi deseo es que mueva directamente sin preguntar. Es posible ? Muchas gracias. |
#2
|
||||
|
||||
Estimado, si quiere seguir utilizando TSHFileOpStruct, puede usar la propiedad fFlags para que la operación no pregunte eso que Ud. dice.
Para saber qué valores recibe, busque la declaración de FOF_FILESONLY en la unidad ShellApi de su versión de Delphi. Ahí junto con esa constante, están declaradas las otras que se pueden utilizar (FOF_MULTIDESTFILES, FOF_CONFIRMMOUSE, etc). -
__________________
"constructive mind, destructive thoughts" |
#3
|
||||
|
||||
Muchas gracias TOPX, buscare informacion sobre ello.
Saludos |
#4
|
||||
|
||||
Yo he seguido más po menos el mismo camino...
https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx Y llegas a los Flags: Cita:
__________________
Germán Estévez => Web/Blog Guía de estilo, Guía alternativa Utiliza TAG's en tus mensajes. Contactar con el Clubdelphi P.D: Más tiempo dedicado a la pregunta=Mejores respuestas. |
#5
|
||||
|
||||
Muchas gracias Neftali.
Justo estaba mirando esa info y me ha servido un monton. Saludos |
Herramientas | Buscar en Tema |
Desplegado | |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Obtener HTML con ligas completas de paginas hechas con CMS | sakuragi | PHP | 7 | 09-12-2010 22:23:47 |
Indy: Connection clode gracefully. Completas causas y solución ? | rolandoj | Internet | 3 | 02-09-2008 11:44:39 |
pasar palabras completas de un memo a otro | Cosgaya | Conexión con bases de datos | 1 | 05-06-2005 15:41:07 |
Impedir mover el form y redimensionar al mover barra tareas | jealousy | API de Windows | 0 | 15-06-2004 12:58:05 |
Imprimir tablas completas en Rave | Oreades | Impresión | 1 | 07-06-2004 07:43:40 |
|