I use an old editor which writes information to the VirtualStore but still reads from Program Files (x86) - virtualstore

I use an old editor which originally was designed to save its state on exit into a few files in its installation directory under c:\Program Files (x86)...
Clearly it can't do that now, so Windows 10 redirects those files to be written in the relevant VirtualStore location. However when I restart the editor it reads that information from the c:\Program Files (x86)... area.
How do I get it to look in the VirtualStore location? The editor won't have an option for that as VirtualStore never existed when it was released.

Related

Can we specify where the *.VC.db files are saved?

This question explained what the *.VC.db files are:
What is the *.VC.db file in Visual Studio projects?
Now I would like to know how to specify which folder that those files are put into, or make them hidden.
I regularly make a backup of my source and project files, and I don't want to waste my time and disk space backing up temporary files.
In one folder, I have a few projects that add up to 150 kB, and the two VC.db files are 84 MB.
Isn't there some way to specify where the VC.db files are placed, as we can do with the object files?
I just discovered that the way to set the folder for the *.VC.DB files is the same as for the IPCH files, as described here:
How to change ipch path in Visual Studio 2010
I also specified a folder for the "fallback location" rather than leave it blank, which sends the files to whatever you have set for your %TEMP% folder.

Windows 8 - Adding to PATH through Control Panel

In order to install Laravel I need to put ~/.composer/vendor/bin into path.
Here is how I've done it but it does not work (homestead is still unrecognizable variable).
I'm on Windows 8. So I went to:
Control Panel -> System -> Advanced -> Environment Variables
Under System Variables I've searched for Path variable which was:
C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\ActiveState
Komodo Edit 8\;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program
Files (x86)\AMD
APP\bin\x86;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program
Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files
(x86)\Windows Live\Shared;C:\Program
Files\nodejs\;C:\HashiCorp\Vagrant\bin
I've added C:\Users\myname\composer\vendor\bin to it and therefore changed it to:
C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\ActiveState
Komodo Edit 8\;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program
Files (x86)\AMD
APP\bin\x86;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program
Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files
(x86)\Windows Live\Shared;C:\Program
Files\nodejs\;C:\HashiCorp\Vagrant\bin;C:\Users\myname\composer\vendor\bin
Please, take a look at the last words of this long piece of text. Are they written ok? Or should I write something else?
Besides, how do I check that Composer is indeed inside my C\Users\myname folder? The fact is: from wherever I run composer -v (with Git Bash or Windows CMD) I get a positive response. It looks like Composer is successfully installed but I can't actually see it anywhere as a folder.
The docs say to add .composer/vendor/bin/ and you've just added composer/vendor/bin/ (missing the . [full stop/period])
Does the directory on Windows have a . in the directory name?

Content files showing up in install directory

So I currently have a script that works just fine with one problem. Whenever I publish it as a ClickOnce application, it has to be installed on the users computer before it can be used, and the the files I have specified to run if the user provides a valid login are showing up in the local APPDATA files.
I feel like there has to be a better way to publish my application. I want the 4 files ( a .swf that will run with flash, a bat file to run those, and a .vbs script that runs the bat file in the background so it doesn't pop up) to be included in the project, but to be written into the resulting binary files, not in their original form so the source is freely available.
Anyone have a suggestion?

How to store files in an EXE file via vb 2010 app

I need to store files in an EXE file via VB 2010 app. I mean, lets say I made a software called setmaker and one that is called setup.exe. I want setmaker to store some files that you choose in setup.exe, and then when you run setup.exe it reads the files that you stored in it and extracts it to a location specified by you.
The following post How to copy file From Resources? discusses a method for copying a file that is an Embedded resource in an EXE to a folder on disk.
Hope that helps.

How to resolve Notepad++ "Writing error summary to C:\Program Files(x86)\ ...\HTMLTIDY.ERR" on Vista?

How to resolve Notepad++ "Writing error summary to C:\Program Files(x86)\ ...\HTMLTIDY.ERR" on Vista pc?
I have the latest version of notepad++ (just updated it two days ago).
When I try to run TextFX htmltidy, I get the above error reported by windows vista.
I've set permissions on the file htmltidy.err to allow everyone to modify/read/write/etc.
I do not understand file permissions in Win Visa.
2nd issue: I also have to click 'Allow' whenever I click to launch notepad++ even though I granted the program exe admin rights. UAC says it is an unidentified program.
Do I need to reboot to make these changes effective? What am I missing?
This is not an error, simply a message:
Any errors found in the HTML codes are being written to this file.
For example:
line 1 column 1 - Warning: missing declaration
This is a Windows 7 restriction. Programs should not write into Program Files folder. Instead it should use a temporary folder like %TEMP% or/and %APPDATA%.
Another possible solution is to install Notepad++ outside Program Files folder, in that way you can hanle file and folder permissions by yourself.