Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open a file with wildcard
#1
I have on my desktop the file "C:\Users\Alan\Desktop\conexion sai.rdp" and only exists one file with that extension.
I plan to install this macro on many computers that also have an this file but the name will be different. And I have tried things like:


Code:
Copy      Help
If(!FileExists("$desktop$\*.rdp"))

mes- "File does not exists" "Error" "x"
;;_________________________________ or
If(!FileExists("$desktop$\"*".rdp"))

mes- "File does not exists" "Error" "x"

Could you please tell me the correct syntax


Messages In This Thread
Open a file with wildcard - by apeso - 04-19-2018, 05:28 PM
RE: Open a file with wildcard - by Gintaras - 04-19-2018, 06:31 PM
RE: Open a file with wildcard - by apeso - 04-19-2018, 06:59 PM
RE: Open a file with wildcard - by apeso - 04-19-2018, 09:08 PM
RE: Open a file with wildcard - by apeso - 04-19-2018, 10:36 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)