Editing Macros

Editing Macros in Windows Vista

Macros must be edited manually if you are using PASS 2005 or NCSS 2007 (Version 0) and the Windows Vista operating system.

Details: Windows Vista incorporates a new security measure that creates a virtual subdirectory when a user attempts to write something to the Program Files directory. NCSS currently works by reading and writing settings and macros files to the C:\Program Files\NCSS 2007\Settings directory and the C:\Program Files\NCSS 2007\Macros directory, respectively. When you attempt to edit a macro, the program cannot find the file to be edited if it was saved in the virtual directory. When a macro or template file is saved in Windows Vista running UAC, the file is not saved in the C:\Program Files\NCSS 2007 directory, but instead in the C:\Users\\AppData\Local\VirtualStore\Program Files\NCSS 2007 directory.

Solution: Navigate to C:\Users\\AppData\Local\VirtualStore
\Program Files\NCSS 2007 and edit the macro files using Notepad. Alternatively, if you have administrative privileges on your machine, you can force Vista to write directly to the C:\Program Files\NCSS 2007 directory by right-clicking on C:\Program Files\NCSS 2007\NCSS2007.exe, selecting “Properties”, selecting the “Compatibility” tab, and checking the box next to “Run this program as an administrator”.

Recommendation: Upgrade to PASS 11 and/or NCSS 8.

“I’ve used NCSS since 1986 and PASS since 1997. The utility, precision, documentation, output and ease-of-use of your products are the best in the business. Thank you!”

Tim Gohmann, Ph.D.

Your support is always amazing. I also run [another statistical software package] and on a support / admin basis you guys are way ahead.

Neale Penman, Researcher