NetEZ.com NetEZ Community
Enter City & State or US Zip Code:
Change your local weather options
Google
WWW NetEZ.com

NetEZ.com Forum Index  
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

blog: backup or transfer your settings

 
Post new topic   Reply to topic    NetEZ.com Forum Index -> Useful xplorer˛ Topics:
View previous topic :: View next topic  
Author Message
nikos
Moderator
Moderator


Joined: 07 Feb 2002
Posts: 12346
Location: UK

PostPosted: Sun Apr 13, 2008 5:43 am    Post subject: blog: backup or transfer your settings Reply with quote

This thread was originally posted  in the xplorer˛ Professional forum.        
Moved here 19-May-2010 =fg=
=====================================================


here's the comment area for today's blog post found at
www.zabkat.com/blog/13Apr08.htm
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
johngalt
Silver Member
Silver Member


Joined: 10 Feb 2008
Posts: 192
Location: 3rd Rock

PostPosted: Sun Apr 13, 2008 3:24 pm    Post subject: Reply with quote

So, the /I switch works with all versions, and can be used to load said .REG file for settings, and it will not 'import' them into the registry, but use them only for that session?
_________________


Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
nikos
Moderator
Moderator


Joined: 07 Feb 2002
Posts: 12346
Location: UK

PostPosted: Mon Apr 14, 2008 2:04 am    Post subject: Reply with quote

no, /I will just overwrite the registry with the settings file (in fact it first deletes the old information and then imports the REG file supplied)

the portable version will clear the registry after you quit xplorer2 so that no traces are left
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
johngalt
Silver Member
Silver Member


Joined: 10 Feb 2008
Posts: 192
Location: 3rd Rock

PostPosted: Mon Apr 14, 2008 3:11 am    Post subject: Reply with quote

Thanks for the clarifications.
_________________


Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Squirrel1971
New Member
New Member


Joined: 15 Apr 2008
Posts: 5

PostPosted: Tue Apr 15, 2008 2:01 pm    Post subject: Suggestion for REG file you create Reply with quote

If you have your code write the following line first in the *.REG file you create with Actions > Export Settings , it will first delete the reg key so you effectively clear your previous settings in order to restore the EXACT configuration you were expecting to get when you double click the file and merge its contents into the registry:

Code:
[-HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc]

Idea putting a minus before the HKEY deletes the whole key in *.REG scripts, but you can also use =- to delete individual values, e.g. the following would delete the szCustomDateFormat value from the registry
Code:
[HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc\xplorer2_UC]
"szCustomDateFormat"=-
Back to top
View user's profile Send private message
nikos
Moderator
Moderator


Joined: 07 Feb 2002
Posts: 12346
Location: UK

PostPosted: Wed Apr 16, 2008 4:29 am    Post subject: Reply with quote

that's a good idea, i'll add these -HKEY statements to the reg file saved by xplorer2
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Ian
Member
Member


Joined: 03 Jan 2008
Posts: 44

PostPosted: Wed Apr 16, 2008 5:44 am    Post subject: Reply with quote

Maybe this is off topic, but still regarding portability and settings.

Is it possible to make Xplorer2 handles file-types differently than Windows Explorer?
With that, for those who have Xplorer2 and their fave apps on USB could browse any PC with their fave apps by double clicking normally within Xplorer2.

And for those who have PC that reset state (DeepFreeze, etc.) upon reboot, could just easily change the settings in Xplorer2, not Windows Registry.

Apologize if it is done already or have been discussed before.
Back to top
View user's profile Send private message
nikos
Moderator
Moderator


Joined: 07 Feb 2002
Posts: 12346
Location: UK

PostPosted: Wed Apr 16, 2008 5:50 am    Post subject: Reply with quote

custom file associations are not supported, but you can do the next best thing: define user commands (Customize menu) that launch programs with the selected file as an argument, e.g. >notepad $n

these will be part of your settings and will be available wherever you happen to be working
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Ian
Member
Member


Joined: 03 Jan 2008
Posts: 44

PostPosted: Thu Apr 17, 2008 5:42 am    Post subject: Reply with quote

User commands, does it means I would need to have one toolbar-button for each program?
Sometimes I have more than 1 program with the same usage, like 3 video players, 2 text editors, etc.

Can the user commands read the extension and gives us different menu instead being fixed?
I think it can be done quite easy by using automation script like AutoIt that would read the ext and then gives appropriate menu of apps.

Thanks, nikos.
Back to top
View user's profile Send private message
nikos
Moderator
Moderator


Joined: 07 Feb 2002
Posts: 12346
Location: UK

PostPosted: Thu Apr 17, 2008 12:00 pm    Post subject: Reply with quote

the most flexible you can get with user commands is using the $? token when you're going to be asked for an optional argument, but i doubt that's what you want
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Ian
Member
Member


Joined: 03 Jan 2008
Posts: 44

PostPosted: Thu Apr 17, 2008 12:31 pm    Post subject: Reply with quote

I think I already got what I wanted.
Code:
>notepad $n

$n Is the path to a file that I selected from ATL:BrowserListView, right?
Then use something like a script that can read arguments being thrown at it (in this case the path to the file or $n), and will read the file's extension. Then the script will create a menu that already determined before based on that extension.
With FrizzleFry info regarding set x2path=%~dp0, I think it can work on usb too.

So, whether I choose a .avi; .mp3; or .txt, I only need to click on that user command and I will get appropriate menu for that file.
Back to top
View user's profile Send private message
nikos
Moderator
Moderator


Joined: 07 Feb 2002
Posts: 12346
Location: UK

PostPosted: Thu Apr 17, 2008 12:42 pm    Post subject: Reply with quote

$n is the name, but if you allow x2 to set the current directory (normal behaviour), then it's all you need, otherwise use $f

for a full list of tokens see http://www.zabkat.com/x2h_7.htm#dos_tok
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Ian
Member
Member


Joined: 03 Jan 2008
Posts: 44

PostPosted: Thu Apr 17, 2008 4:24 pm    Post subject: Reply with quote

Ah yes, $f is exactly what I needed. However, I was thinking about virtualization for better implementation with file type.
Anyway, thank you for the info and good luck with your excellent file manager.
Back to top
View user's profile Send private message
admsupport
Bronze Member
Bronze Member


Joined: 10 Dec 2008
Posts: 142
Location: Japan

PostPosted: Sat Dec 13, 2008 11:12 pm    Post subject: Reply with quote

The net piece of information! This is not new, since I have opened a thread related to the app settings.

In the risk to repeat myself, this particular blog's content deserves to figure somewhere in the "Quick Start guide" for the sake of the newcomers.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    NetEZ.com Forum Index -> Useful xplorer˛ Topics: All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP