Sign in to follow this  
Followers 0
hot202

_RunDOS help

2 posts in this topic

I have a little problem i cant work it out. How come this isnt working?

if not FileExists("help.ini") Then
    $var = FileSelectFolder("Choose a folder.", "")
    IniWrite("Settings.ini", "Dir", "Folder", $var)
EndIf
$dir = IniRead("Settings.ini", "Dir", "Folder", "")
$search = _RunDOS("dir"& $dir &"\*.avi /b > Files.log")

Share this post


Link to post
Share on other sites



$search = _RunDOS("dir "& $dir &"\*.avi /b > Files.log")

Notice the whitespace after 'dir'

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