ido-find-file on windows 7 does not use system tool - windows

I would like ido-find-file to open pdf files with the default programm on Win7. I am aware of ido-default-file-method but there is no customization option that would allow that behaviour.

I solved the problem using the excelent openwith library.
https://bitbucket.org/jpkotta/openwith/overview

Related

How to export IE cookies using perl?

I know that there is a option within Internet Explorer that I could use the manually export cookies. However, is it possible to have a Perl script to automate IE to export cookies to a text file or by using command shell?
I'm using Internet Explorer 11 for Windows 7. Thanks in advance!
I haven't tried it with Internet Explorer, but when I've had to do this task for other browsers, I found the file that the cookies are already in and parsed that directly. It's why there are so many HTTP::Cookies::* modules in my CPAN account.
There are also various Win32 modules to let you control Windows applications from Perl through the Windows APIs. I made a list of some examples that use Win32::OLE, for instance. There's one that plays Minesweeper for you!

Auto-it Enable and disable system restore

Is it posible to enable and disable system restore using autoit. I have had a look on Google but i only found how to delete then not disable them. The code must work on windows-8, windows-7 and windows-vista and also windows XP if possible. Thanks for any help.
The _SR_Enable and _SR_Disable functions of the system-restore UDF in autoit will do this for you.

Is there a way to open SublimeText 2 From Other Applications

I loved the ability to open a file in textmate from other applications using the txmt://open/?url=file:// command. I can't seem to find anything similar for SublimeText 2, does anybody know how I can do this?
subl-handler is an app that maps textmate's txmt url protocol to Sublime Text. I haven't tried it myself, but looks like it's what you're looking for.
Available here: https://github.com/hiddenbek/subl-handler
(Side note: for windows users, there's this: https://bitbucket.org/sublimator/sublimeprotocol/src/)
Which operating system are you using?
If you are on the Windows OS this is easy enough to do by registering the file extension with the Windows Shell and then using the ShellExecute WIN32 API.

Copying files in use with Ruby

I need to copy some files that are in use by windows with a ruby script. The OS will either be Windows XP or Windows 7 both 32-bit. Can anyone point me to some information on using Volume Shadow copy with ruby? Is there a gem for this? I would prefer a solution that does not require administrator privileges but whatever works.
I would also be interested in checking if a file is in use before coping / deleting. Thanks in advance for your help.
If there isn't a Ruby library for that purpose you could just use the Windows Volume Shadow Copy API directly via Ruby's WIN32 API (or WIN32 OLE, if available). Here's a useful thread on using Win32API.

Windows 7 Style Help File?

How does one make their application help file similar to the new windows 7 help format and is that compatible with Windows XP? Can anyone provide details ?
Can we use the windows 7 default viewer as a shell to our own help files????
WinXP only supports Complied HTML (.chm) and the really old .hlp format, if you need anything else on older platforms it might be possible to use the Document Explorer that MSDN uses/used (Not sure if there is a redistributable package without the MSDN stuff you can use)

Resources