J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail:
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas
vraiment à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail: KPDTeam@Allapi.net
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas
vraiment à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail:
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas
vraiment à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail:
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas vraiment
à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail: KPDTeam@Allapi.net
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas vraiment
à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail:
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas vraiment
à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail:
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas vraiment
à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail: KPDTeam@Allapi.net
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas vraiment
à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail:
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas vraiment
à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
Kill "pathrépertoire*.*"
rmdir "pathrépertoire"
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" a écrit dans le message de
news: u%J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail:
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas
vraiment à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
Kill "pathrépertoire*.*"
rmdir "pathrépertoire"
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" <patrice.henrio@laposte.net> a écrit dans le message de
news: u%23gIdDhuFHA.860@TK2MSFTNGP10.phx.gbl...
J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail: KPDTeam@Allapi.net
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas
vraiment à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
Kill "pathrépertoire*.*"
rmdir "pathrépertoire"
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" a écrit dans le message de
news: u%J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail:
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas
vraiment à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
J'aurai du chercher plus loin avant de perdre mon temps.
Y-a-t'il des cas où Kill fonctionnerait mal ?
(je pense à certaines versions de Windows ou à des noms de fichiers
exotiques avec des attributs particuliers)
"X" <.> a écrit dans le message de news:Kill "pathrépertoire*.*"
rmdir "pathrépertoire"
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" a écrit dans le message de
news: u%J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail:
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas
vraiment à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
J'aurai du chercher plus loin avant de perdre mon temps.
Y-a-t'il des cas où Kill fonctionnerait mal ?
(je pense à certaines versions de Windows ou à des noms de fichiers
exotiques avec des attributs particuliers)
"X" <.> a écrit dans le message de news:
eKnnBvhuFHA.1032@TK2MSFTNGP12.phx.gbl...
Kill "pathrépertoire*.*"
rmdir "pathrépertoire"
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" <patrice.henrio@laposte.net> a écrit dans le message de
news: u%23gIdDhuFHA.860@TK2MSFTNGP10.phx.gbl...
J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail: KPDTeam@Allapi.net
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas
vraiment à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
J'aurai du chercher plus loin avant de perdre mon temps.
Y-a-t'il des cas où Kill fonctionnerait mal ?
(je pense à certaines versions de Windows ou à des noms de fichiers
exotiques avec des attributs particuliers)
"X" <.> a écrit dans le message de news:Kill "pathrépertoire*.*"
rmdir "pathrépertoire"
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" a écrit dans le message de
news: u%J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail:
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas
vraiment à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
Salut,
Je ne sais pas en fait, j'utilise kill *.* pour mes sauvegardes sur
disquettes, je n'ai jamais essayé avec autre chose que des fichiers
identifiés donc, mais je présume que les jokers devraient marcher pour
tout :o)
Mais sinon, beaucoup de commande Dos sont intéressantes et exploitables...
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" a écrit dans le message de
news:J'aurai du chercher plus loin avant de perdre mon temps.
Y-a-t'il des cas où Kill fonctionnerait mal ?
(je pense à certaines versions de Windows ou à des noms de fichiers
exotiques avec des attributs particuliers)
"X" <.> a écrit dans le message de news:Kill "pathrépertoire*.*"
rmdir "pathrépertoire"
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" a écrit dans le message de
news: u%J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail:
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas
vraiment à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
Salut,
Je ne sais pas en fait, j'utilise kill *.* pour mes sauvegardes sur
disquettes, je n'ai jamais essayé avec autre chose que des fichiers
identifiés donc, mais je présume que les jokers devraient marcher pour
tout :o)
Mais sinon, beaucoup de commande Dos sont intéressantes et exploitables...
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" <patrice.henrio@laposte.net> a écrit dans le message de
news: e3t0A7huFHA.2212@TK2MSFTNGP15.phx.gbl...
J'aurai du chercher plus loin avant de perdre mon temps.
Y-a-t'il des cas où Kill fonctionnerait mal ?
(je pense à certaines versions de Windows ou à des noms de fichiers
exotiques avec des attributs particuliers)
"X" <.> a écrit dans le message de news:
eKnnBvhuFHA.1032@TK2MSFTNGP12.phx.gbl...
Kill "pathrépertoire*.*"
rmdir "pathrépertoire"
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" <patrice.henrio@laposte.net> a écrit dans le message de
news: u%23gIdDhuFHA.860@TK2MSFTNGP10.phx.gbl...
J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail: KPDTeam@Allapi.net
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas
vraiment à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
Salut,
Je ne sais pas en fait, j'utilise kill *.* pour mes sauvegardes sur
disquettes, je n'ai jamais essayé avec autre chose que des fichiers
identifiés donc, mais je présume que les jokers devraient marcher pour
tout :o)
Mais sinon, beaucoup de commande Dos sont intéressantes et exploitables...
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" a écrit dans le message de
news:J'aurai du chercher plus loin avant de perdre mon temps.
Y-a-t'il des cas où Kill fonctionnerait mal ?
(je pense à certaines versions de Windows ou à des noms de fichiers
exotiques avec des attributs particuliers)
"X" <.> a écrit dans le message de news:Kill "pathrépertoire*.*"
rmdir "pathrépertoire"
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" a écrit dans le message de
news: u%J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail:
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas
vraiment à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
Je ne me souviens pas de kill comme commande dos, mais delete et del pour
les fichiers et removedir et rmd pour les dossiers.
"X" <.> a écrit dans le message de news:Salut,
Je ne sais pas en fait, j'utilise kill *.* pour mes sauvegardes sur
disquettes, je n'ai jamais essayé avec autre chose que des fichiers
identifiés donc, mais je présume que les jokers devraient marcher pour
tout :o)
Mais sinon, beaucoup de commande Dos sont intéressantes et
exploitables...
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" a écrit dans le message de
news:J'aurai du chercher plus loin avant de perdre mon temps.
Y-a-t'il des cas où Kill fonctionnerait mal ?
(je pense à certaines versions de Windows ou à des noms de fichiers
exotiques avec des attributs particuliers)
"X" <.> a écrit dans le message de news:Kill "pathrépertoire*.*"
rmdir "pathrépertoire"
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" a écrit dans le message
de news: u%J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail:
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas
vraiment à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
Je ne me souviens pas de kill comme commande dos, mais delete et del pour
les fichiers et removedir et rmd pour les dossiers.
"X" <.> a écrit dans le message de news:
epoYoCiuFHA.3012@TK2MSFTNGP10.phx.gbl...
Salut,
Je ne sais pas en fait, j'utilise kill *.* pour mes sauvegardes sur
disquettes, je n'ai jamais essayé avec autre chose que des fichiers
identifiés donc, mais je présume que les jokers devraient marcher pour
tout :o)
Mais sinon, beaucoup de commande Dos sont intéressantes et
exploitables...
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" <patrice.henrio@laposte.net> a écrit dans le message de
news: e3t0A7huFHA.2212@TK2MSFTNGP15.phx.gbl...
J'aurai du chercher plus loin avant de perdre mon temps.
Y-a-t'il des cas où Kill fonctionnerait mal ?
(je pense à certaines versions de Windows ou à des noms de fichiers
exotiques avec des attributs particuliers)
"X" <.> a écrit dans le message de news:
eKnnBvhuFHA.1032@TK2MSFTNGP12.phx.gbl...
Kill "pathrépertoire*.*"
rmdir "pathrépertoire"
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" <patrice.henrio@laposte.net> a écrit dans le message
de news: u%23gIdDhuFHA.860@TK2MSFTNGP10.phx.gbl...
J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail: KPDTeam@Allapi.net
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas
vraiment à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée
Je ne me souviens pas de kill comme commande dos, mais delete et del pour
les fichiers et removedir et rmd pour les dossiers.
"X" <.> a écrit dans le message de news:Salut,
Je ne sais pas en fait, j'utilise kill *.* pour mes sauvegardes sur
disquettes, je n'ai jamais essayé avec autre chose que des fichiers
identifiés donc, mais je présume que les jokers devraient marcher pour
tout :o)
Mais sinon, beaucoup de commande Dos sont intéressantes et
exploitables...
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" a écrit dans le message de
news:J'aurai du chercher plus loin avant de perdre mon temps.
Y-a-t'il des cas où Kill fonctionnerait mal ?
(je pense à certaines versions de Windows ou à des noms de fichiers
exotiques avec des attributs particuliers)
"X" <.> a écrit dans le message de news:Kill "pathrépertoire*.*"
rmdir "pathrépertoire"
--
ECRIRE
http://irolog.free.fr/ecrire/index.htm
LOGICIELS
http://irolog.free.fr
SITE
http://irolog.free.fr/joe/index.htm
FAQ VB
http://faq.vb.free.fr
PRINCIPE D'UTILISATION DES NEWSGROUPS MICROSOFT
http://support.microsoft.com/directory/worldwide/fr/newsgroup/regles.htm
********************************************************
"Patrice Henrio" a écrit dans le message
de news: u%J'ai utilisé le code que j'ai trouvé dans AllApi
Private Declare Function CreateDirectoryEx Lib "kernel32" Alias
"CreateDirectoryExA" (ByVal lpTemplateDirectory As String, ByVal
lpNewDirectory As String, lpSecurityAttributes As Any) As Long
Private Declare Function RemoveDirectory Lib "kernel32" Alias
"RemoveDirectoryA" (ByVal lpPathName As String) As Long
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail:
'Create a new directory
CreateDirectoryEx "C:Windows", "C:KPD-Team", ByVal 0&
'remove the directory
RemoveDirectory "C:KPD-Team"
End Sub
Cela marche bien pour créer un répertoire (même si je ne vois pas
vraiment à quoi sert le premier argument :
· lpTemplateDirectory
Points to a null-terminated string that specifies the path of the
directory to use as a template when creating the new directory.
Par contre le removeDirectory ne marche pas ?
Quelqu'un a-t'il une idée