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