H harlechguy Member Licensed User Longtime User Mar 13, 2012 #1 Hi, are there any rules on file paths and spaces e.g can a file path contain a space as in /mnt/sdcard/docbrowser/alitherm 300/1 index/pg_0001.jpeg the above example fails - is this because of the spaces? if so is there a syntax that will allow there usuage e.g using a '~' many thanks
Hi, are there any rules on file paths and spaces e.g can a file path contain a space as in /mnt/sdcard/docbrowser/alitherm 300/1 index/pg_0001.jpeg the above example fails - is this because of the spaces? if so is there a syntax that will allow there usuage e.g using a '~' many thanks
NJDude Expert Licensed User Longtime User Mar 13, 2012 #2 Yes, you shouldn't use spaces on folder names, you can use underscores. Upvote 0
H harlechguy Member Licensed User Longtime User Mar 13, 2012 #3 Thanks, is there a string command to replace a space with an underscore at runtime? Upvote 0
klaus Expert Licensed User Longtime User Mar 13, 2012 #4 B4X: txt = txt.Relpace(" ", "_") Best regards. Upvote 0
NJDude Expert Licensed User Longtime User Mar 13, 2012 #5 Something like this: B4X: Dim MyPath As String ... MyPath = MyPath.Replace(" ", "_") ... For more info, read the docs. Upvote 0
Something like this: B4X: Dim MyPath As String ... MyPath = MyPath.Replace(" ", "_") ... For more info, read the docs.