Have you tried something simple like and let the computer do the work: - /Public Sub Form_Open() Dim sDesktop, sDir As String
sDesktop = Desktop.Type Select Case sDesktop Case "GNOME" Shell "gksu ls -a" To sDir 'Ubuntu, Mint, Debian etc Case "KDE" Shell "kdesudo ls -a" To sDir 'Kubuntu, Mint KDE etc End Select Print sDir End/ -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-input-hide-password-into-gambas-command-line-project-tp53669p53687.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user