IHaveLeftTheForum Posted April 27, 2010 Share Posted April 27, 2010 There are different drive letters of removable drives on different computers. How to copy a file to all removable drives ??? Link to comment Share on other sites More sharing options...
99ojo Posted April 27, 2010 Share Posted April 27, 2010 Hi, have a look at function drivegetdrive (). ;-)) Stefan Link to comment Share on other sites More sharing options...
IHaveLeftTheForum Posted April 27, 2010 Author Share Posted April 27, 2010 (edited) $var = DriveGetDrive( "ALL" ) FileCopy(@ScriptFullPath, $var, 9) ; why this is not working ?? Edited April 27, 2010 by Azeem Link to comment Share on other sites More sharing options...
99ojo Posted April 27, 2010 Share Posted April 27, 2010 Hi,see helpfile DriveGetDrive ().Returns an array containing the enumerated drives.See example for further information.;-))Stefan Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now