[Gambas-user] Possible bug
Charlie
charlie at ...2793...
Wed May 15 18:58:44 CEST 2013
Hi Olivier Cruilles,
I have found a work around. As suggested earlier by Caveat using "// ". I
now have: -
*Public Sub Button1_Click()
Dim SDir As String
Sdir = DirChooser1.SelectedPath
SDir = "ls " & Replace(SDir, " ", "\\ ") & " > Temp.txt"
Shell SDir
End
*
The output to the shell is : -
*ls /home/charlie/This\ is\ a\ \ test\ directory > Temp.txt*
This even allows for more that one space in a directory name.
Thanks all for your help.
Charlie
--
View this message in context: http://gambas.8142.n7.nabble.com/Possible-bug-tp41943p41961.html
Sent from the gambas-user mailing list archive at Nabble.com.
More information about the User
mailing list