Jump to content

How to you pass a directory and file name to a text control?


Recommended Posts

Perhaps _PathSplit might help.

You then take that and, using GUICtrlSetData, you can update the data to the control.

Here's and example of it being used:

#include <file.au3>
#include <array.au3>
Dim $szDrive, $szDir, $szFName, $szExt ; creates variables
$TestPath = _PathSplit(@ScriptFullPath, $szDrive, $szDir, $szFName, $szExt) ; gets the info on file
_ArrayDisplay($TestPath,"Demo _PathSplit()")oÝ÷ Ù«­¢+Ø¥¹±Õ±Ðí¥±¹ÔÌÐì(¥¹±Õ±ÐíÉÉä¹ÔÌÐì)¥´ÀÌØíÍéÉ¥Ù°ÀÌØíÍé¥È°ÀÌØíÍé9µ°ÀÌØíÍéáÐ(ÀÌØíQÍÑAÑ ô}AÑ¡MÁ±¥Ð¡MÉ¥ÁÑÕ±±AÑ °ÀÌØíÍéÉ¥Ù°ÀÌØíÍé¥È°ÀÌØíÍé9µ°ÀÌØíÍéáФ(ÀÌØí±°ôU%
Ñɱ
ÉÑ1° ÅÕ½ÐìÅÕ½Ðì°ÄÀ°ÌÀ¤ìÉṈ̃°)U%
ÑɱMÑÑ ÀÌØí±°°ÅÕ½Ðí¥ÉѽÉäèÅÕ½ÐìµÀìÀÌØíÍé¥ÈµÀì
HµÀìÅÕ½Ðí¥±9µèÅÕ½ÐìµÀìÀÌØíÍé9µ¤ìÍ¡½ÝÌ¥ÉѽÉä¹¥±¹µ
Edited by BALA
[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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