Voila mon probleme, quand j'utilise Directory.Move(Path1,Path2), si le Path1 n'est pas vide alors je perd mes variable session.
Pourtant le deplacement est bien effectuer
Je sais qu'il n'y a rien a voir entre les variables session est un objet Directory

voila mon code ou ca marche pas quand je vire le commentaire :
if (!Directory.Exists(Directory.GetCurrentDirectory()+newpath))
{
// Directory.Move(Directory.GetCurrentDirectory()+path, Directory.GetCurrentDirectory()+newpath);
Response.Write("Le dossier a bien été renommer");
string execut = "<script>window.close(); window.opener.location.href(\"affiche.aspx\");<" + "/" + "script>";
this.Page.RegisterStartupScript("succes", execut);
}
Merci d'avance !!
Vive le COBOL