Sign in to follow this  
Followers 0
myspacee

_PathSplit

8 posts in this topic

hello to all,

have nice script that works with given path form command line.

There is any way to use _PathSplit with given variable ? (text format)

in my case given path can be :

c:\windows\*.txt

any suggestion ?

thank you,

m.

Share this post


Link to post
Share on other sites



Maybe...

$String = "c:\windows\*.txt"

$Split = StringSplit($String, "\")

MsgBox(4096, "File", $Split[($split[0])])

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

@Valuater

Why have you added some '()', how do you say it in english ?

this works : $split[$split[0]]

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

@Valuater

Why have you added some '()', how do you say it in english ?

this works : $split[$split[0]]

Cheers, FireFox.

It's a clear separation of the information and dedication to the manipulation for concentration finalization.

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

It's a clear separation of the information and dedication to the manipulation for concentration finalization.

8)

Haha. Translation: the parentheses aren't needed here, simple mistake.

Share this post


Link to post
Share on other sites

@weaponx

:think: no problem, everyone can do little mistakes :)

parenthese, same word in french :lmao:

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Actually, it placed there on purpose. it clarify's and is future Autoit compatible!!! :)

The real question is, was it helpful to the OP???

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

Thank you for clarify that StringSplit() can be used with given string.

(next time i try before post) :)

But what is OP ?

(me, ok, but?)

m.

Share this post


Link to post
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
Sign in to follow this  
Followers 0