Jump to content

Recommended Posts

Posted

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?

Posted

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 B)

Writing AutoIt scripts since

_DateAdd("d", -2, _NowCalcDate())
Posted

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 B)

Thanks for that tip. After searching the forum some more I found another answer.

$file = '"' & $file1 & '"'

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...