Page 1 sur 1
Fermeture Fichier
Posté : 31 oct. 2018, 14:44
par JacquesCHENU
Salut à toutes et à tous
Un trou....de mémoire
Comment fermer un fichier
"instruction - chemin du fichier"
A+
Re: Fermeture Fichier
Posté : 31 oct. 2018, 15:26
par Onissius
Manipulation sur objet => Fermer ?
Re: Fermeture Fichier
Posté : 31 oct. 2018, 18:20
par JacquesCHENU
Merci Onissius...
fonctionne à partir handle
MAIS
mon propos est de fermer un fichier ouvert hors SM, donc
Instruction ET Chemin du fichier, probablement faisable via un script JScirpt ou VBScript ou Batch
Re: Fermeture Fichier
Posté : 01 nov. 2018, 15:21
par lenautile16
Bonjour,
Je me sers quelque fois de taskkill :
https://windows.developpez.com/cours/li ... ge=page_20
Dans un script batch qui pourra être lancé par la super macro elle-même ou autre chose.