uguradem Posted November 7, 2007 Share Posted November 7, 2007 Hi all, I need to script installation of firefox. For that i need to create different redirected "profil directory" for each user present on the computer. How can i retrieve all username so i can create different directory with the username. OR ...... With Firefox Do you have an idea of how can i have different profile directory for each user on the computer. Out of the documents and settings directory THX Link to comment Share on other sites More sharing options...
Das Ami Posted November 7, 2007 Share Posted November 7, 2007 (edited) Just a quick idea, you could use _FileListToArray with the Folder setting on C:\Documents and Settings\. Like this. _FileListToArray (StringLeft(@UserProfileDir,StringInStr(@UserProfileDir, "\", 1, 2)), "", 2) Edited November 7, 2007 by Das Ami Link to comment Share on other sites More sharing options...
weaponx Posted November 7, 2007 Share Posted November 7, 2007 (edited) Just a quick idea, you could use _FileListToArray with the Folder setting on C:\Documents and Settings\. Like this. _FileListToArray (StringLeft(@UserProfileDir,StringInStr(@UserProfileDir, "\", 1, 2)), "", 2)oÝ÷ Ûú®¢×az¥+U,z»7ß}Ãyªà¡Ø·ö÷yéáiÉw}Ó+"²}ýµ¨(¡ÜÊÚ zÚÞjVr§¶v¦zÄz«zêå Edited November 7, 2007 by weaponx Link to comment Share on other sites More sharing options...
Das Ami Posted November 7, 2007 Share Posted November 7, 2007 Who the hell is All Users?!??! Dear god i've been hacked!This isn't a good way to get real account names.As I mentioned it was just an idea, I never used COM before. 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