Danny35d Posted July 10, 2006 Share Posted July 10, 2006 I create a robocopy gui LinkI will like to use it with my BartPe but, when I try to select a folder using FileSelectFolder function all it display is a grey window with the ok and cancel buttons, I'm not able to select any folder.Anybody knows how this function works or if I missing a dll or something else to make this function work under BartPE. AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line Link to comment Share on other sites More sharing options...
Danny35d Posted July 10, 2006 Author Share Posted July 10, 2006 Anyone??? AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 10, 2006 Share Posted July 10, 2006 Hi, dunno but maybe it has something to do with the need of IE. :"> So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Developers Jos Posted July 10, 2006 Developers Share Posted July 10, 2006 Anyone???It is using SHBrowseForFolder() located in shell32.dll .... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Skruge Posted July 11, 2006 Share Posted July 11, 2006 $ret = FileOpenDialog('Open Config File', "::{450D8FBA-AD25-11D0-98A8-0800361B1103}", 'Config Files (*.Cfg)', 3) Can't test now, but maybe "My Documents" isn't defined or doesn't exist in your PE environment? What do you see in your PE's registry? HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103} [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font] Link to comment Share on other sites More sharing options...
MHz Posted July 11, 2006 Share Posted July 11, 2006 Both lines of FileSelectFolder as used $ret = FileSelectFolder('Select a source path.', '', 2) oÝ÷ Ù«¢+Ø(ÀÌØíÉÐô¥±M±Ñ½±È ÌäíM±ÐÑÉÐÁÑ ¸Ìäì°ÌäìÌäì°Ì¤ Since the root dir is not specified, then the Desktop is used. As the environmental variables are different in BartPE, then perhaps AutoIt searching the registry for the desktop cannot be found and the call to shell32.dll is invalid for it to work? As a workaround if I am right, perhaps specify a root dir like @ScriptDir or use EnvGet to get one of the evironmental variable values to use. Here is a list of Environmental variables I have recorded. AllUsersProfile = B:\Documents and Settings\All Users AutoRun = 1 ComputerName = Minint-JVC ComSpec = X:\i386\System32\cmd.exe OS = Windows_NT Path = X:\i386;X:\i386\System32;X:\Bin PathExt = .Com;.Exe;.Bat;.Cmd;.Vbs;.Js;.Ws Prompt = $P$G RamDrv = B: SystemDrive = X: SystemRoot = X:\i386 Temp = B: Tmp = B: UserProfile = B:\Documents and Settings\Default User WinDir = X:\i386 Or try to specifiy a literal like C:\ as you maybe using Robocopy as a backup feature? 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