Jump to content



Photo

Fileopen


  • Please log in to reply
3 replies to this topic

#1 esfalk

esfalk

    Wayfarer

  • Active Members
  • Pip
  • 59 posts

Posted 01 April 2004 - 08:26 PM

When I use the FileOpen function, where is the function looking to open the file from?

Thanks,
Eric





#2 GrahamS

GrahamS

    Prodigy

  • Active Members
  • PipPipPip
  • 156 posts

Posted 01 April 2004 - 08:42 PM

The directory that the script is in
GrahamS

#3 CyberSlug

CyberSlug

    Overwhelmed with work....

  • MVPs
  • 3,587 posts

Posted 01 April 2004 - 09:36 PM

Actually, I think the current working directory is used. It just happens that @WorkingDir is initially the same as @ScriptDir....

See the FileChangeDir function for more information :whistle:
Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

#4 ezzetabi

ezzetabi

    さくらが さいた

  • Active Members
  • PipPipPipPipPipPip
  • 2,011 posts

Posted 02 April 2004 - 02:16 PM

Do not assume that there is one default folder, just put the complete right path and you are ok B)

E.G.
@Scriptdir & "\filename.doh"
@TempDir & "\filename.doh"


See? :whistle:

Edited by ezzetabi, 02 April 2004 - 02:20 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users