Jump to content

the CPU utilization is very high when my au3 program call external program or cmd


Recommended Posts

the CPU utilization become very high when my au3 program call external program or cmd

example code:

run(@COMSPEC & " /c (copy /z "srcfile dstfile" ,"",@SW_HIDE)

when run the script "run", the CPU utilization become very high. but if at the cmd line, the cmd "copy /z "srcfile dstfile" wont make the CPU utilization become very high. of course, if use "filecopy()" wont make the cpu utilization become very high too. but i want use the cmd line "copy", can you make the utilization become low?

thanks very much!!!

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

    No registered users viewing this page.

×
×
  • Create New...