Jump to content

Recommended Posts

Posted

I just wanna copy some files to current logged in users Application data folder

But my runwait command is not running ,what am i doing wrong pls helpt..

$DIR = @AppDataDir & "\MICROSOFT\TEMPLATES /C /E /I /R /Y/D "

$fulldir = "xcopy z:\zenapps\glltemplates\*.* " & $dir

MsgBox(0,"Templates",$fullDIR,30)

RunWait(@ComSpec & " /c " & $fulldir,@AppDataDir )

Thanks

Posted

Have you tried using FileCopy() instead of the dos command?

Thanks Dude. File Copy did work , but i would still like to know what i am doing wrong with that RunWait.

Aqeel

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
  • Recently Browsing   0 members

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