mvidal Posted November 13, 2005 Share Posted November 13, 2005 I'm using the FileOpenDialog like this. $videofile = FileOpenDialog ( "Select Video File", "::{450D8FBA-AD25-11D0-98A8-0800361B1103}", "Windows Media Files (*.wmv)" ,1 ) $videofile may equal something like this. C:\some path\with spaces\myfile.wmv How do I get quotes around $videofile? I tried concatenating the " character but I cant seem to get it correct. Anyone have a way to do this? Link to comment Share on other sites More sharing options...
MSLx Fanboy Posted November 13, 2005 Share Posted November 13, 2005 I believe FileGetShortName() is what you are looking for. I would check the helpfile, but I have yet to get wine working in linux right now Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate()) Link to comment Share on other sites More sharing options...
mvidal Posted November 13, 2005 Author Share Posted November 13, 2005 I believe FileGetShortName() is what you are looking for.I would check the helpfile, but I have yet to get wine working in linux right now Thanks for that tip. After searching the forum some more I found another answer.$file = '"' & $file1 & '"' Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now