Jump to content

Recommended Posts

Posted

Hi,

I've started getting into a GUI and install scripts for a program.

I've got the overall GUI down, but what I need is when I press a button, it needs to execute a file in another directory, but it cannot be a drive specific, I plan on throwing the script onto a cd. Any help would be great.

If that doesn't work, I need to know how to execute a file copy command to just copy the files on that cd to the c: drive in a specific directory. Some example code would help me out greatly. Thanks!

Posted

Hi,

I've started getting into a GUI and install scripts for a program.

I've got the overall GUI down, but what I need is when I press a button, it needs to execute a file in another directory, but it cannot be a drive specific, I plan on throwing the script onto a cd. Any help would be great.

If that doesn't work, I need to know how to execute a file copy command to just copy the files on that cd to the c: drive in a specific directory. Some example code would help me out greatly. Thanks!

Welcome to the forums.

Questions like yours confuse me. How can you be able to work out how to make a gui but can't work out how to "file copy"?

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Posted

Welcome to the forums.

Questions like yours confuse me. How can you be able to work out how to make a gui but can't work out how to "file copy"?

Well, I understand I could use the copydir command using CMD prompt and having it execute from there, but is there a simpler way is what I'm trying to get to.

And the main question was file execution upon button click but not being directory specific because the directory may not be on the same drive letter all the time.

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...