Table of Contents
Welcome to WinHacker	3
Support	3
How to Register WinHacker	3
Mail Order Form	3
Register over CompuServe	5
Register over the Internet	5
How do I...	5
Connecting to a remote computer	5
How to order WinHacker	5
How to run Plug-ins	6
Features	6
Plug-ins	6
File Types	6
Hide Drives	6
Explorer	7
Explore as Default	7
Menu Items	7
Explore from Here	7
Menu Items to Add to All Files	7
Default Program for Non-Associated Files	7
MS-DOS Prompt Item on Directories	7
Add Quick View item to all files	7
Shortcuts	8
Shortcut Icons	8
“Shortcut to” on new shortcuts	8
Visual	8
Show Bitmaps as Icons in Explorer	8
Save Settings on Exit	8
Shell	8
Animated “Click Here to Begin” at startup	8
Auto Play Audio CD’s	8
Auto Play Data CD’s	8
Compressed Files Color	9
Shell Folders	9
Tip of the Day	9
Window Animation	9
Desktop	9
Start Menu	9
Menu Speed	9
Start Menu Title	9
Cascading Items	10
Control Panel	10
Printers	10
Dial-up Networking	10
Special Folders	10
Startup	11
Boot Into GUI (Graphical User Interface)	11
Disable Logging	11
Safe Mode Warning (after system crash)	11
Safe Mode /w Networking	11
Show Splash Screen at Startup	11
Startup Keys	11
Startup Keys	11
Startup Delay	11
Dual Boot	12
Dual Boot	12
Boot Windows 95 As Default OS	12
Startup Menu	12
Boot Into Startup Menu	12
Default Item	12
Default Item	12
Default Item Delay	12
System	12
Add / Remove Programs	12
Beep on System Errors	13
Disable Tildes (~) on Short File Names	13
Support for Removable IDE Drives (SyQuest)	13
Double-Buffering	13
Load command.com / drvspace.bin > 640k	13
Registration Information	13
Task Manager	13
Compression Drivers	14
DriveSpace	14
DoubleSpace	14
Setup	14
Default Setup Path	14
Mouse	14
Mouse Sensitivity	14
Logitech Mice	14
Middle Mouse Button	14
Network	15
Auto Login	15
Printers	15
Time To Live (TTL)	15
Global TCP/IP Settings	15
Printer Spooler Notification	15
Script File (Plug-ins) Reference	15
Creating your own Plug-ins	15
Modifying the Windows Registry	16
Modifying INI Files	18
Managing Files	20
Advanced Options	22
Asking for User Input	22
Using Environment Variables	24

Welcome to WinHacker
Welcome to WinHacker 2.0.
WinHacker is a utility that you can use to configure the hidden Windows 95 and Windows NT 4.0 settings. WinHacker is THE Windows Shell Management Tool.
Many of the settings that change the way Windows 95 works and feels are hidden in the overwhelming registry, or in configuration files. WinHacker give you a easy way to configure those settings through the GUI (graphical user interface)!
Some features of WinHacker 2.0 are:
•	Ability to rename or change the icon of any shell folder (such as My Computer, Recycle Bin). 
•	Add / Remove specific shell folders from My Computer or the Desktop. 
•	Ability to move your desktop directory, and other folders such as Favorites, etc 
•	Show Windows Bitmaps as thumbnails in Explorer. 
•	Scripting language to create ‘plug-ins’ that can modify the registry, INI files, etc. 
•	Full context-sensitive help (What’s This? help). 
•	Windows 95 and Windows NT 4.0 specific features. 
•	And much, much more...

Support
You can contact Wedge Software for support at the following addresses.
Internet Mail	  support@wedgesoftware.com	
Web pages	  http://www.wedgesoftware.com/	
Mail	Wedge Software
P.O. Box 431
Davisburg, MI 48350-1223	

How to Register WinHacker 
Mail Order Form

You can print the following order form from the order.txt file included with this package.
WinHacker v2.0 Registration Form
			Read REGISTER.TXT!
*Name:	___________________________________________________

Company:	___________________________________________________

*Address:	___________________________________________________

*City:		___________________________________________________

*State:		____________		*ZIP:     _______-_____

Phone:	(____)____-______	Fax:	  (____)____-______

Email address:	___________________________________________________

Where did you hear about or get WinHacker?
( ) Internet - Web page or FTP site: ______________________
( ) BBS		( ) From another person
( ) Other _________________________________________________
Comments:  ________________________________________________________

===Order Information===============================================
WinHacker Registered Version 2.0 . . @ $17.95 each	$__________
- Site licenses available for 10+ orders
Michigan residents add sales tax . . . . . . . 6.00 %	$__________

International orders ONLY add shipping cost . . . $6.00	$__________
•	Do not add if shipping via e-mail (CIS / Internet)

					Total		$__________

Choose one shipping method:	( ) US Mail (default)
				( ) CompuServe: ____________________
				( ) Internet: ( ) UUencoded ( ) MIME
				    at address listed above.

Send orders to:

	Wedge Software
	P.O. Box 431
	Davisburg, MI 48350-1223

Register over CompuServe
Under Construction.  Please check our home page   for updates 
Register over the Internet
The Registered Version of this program can be purchased and received immediately on the Internet at Albert’s Ambry (http://www.alberts.com/). Registration at Albert’s also eliminates shipping and handling costs.
Click   to buy WinHacker now!
Thank you for registering this program. The shareware concept relies on you!
How do I... 
Connecting to a remote computer
WinHacker 2.0 has the capability to connect to remote computers, and change their settings.
Currently, only Windows 95 to Windows 95, or Windows NT to Windows NT (server or workstation) are supported.  You can not cross platforms. You must also have Administrative rights on the remote computer.
To connect to a remote computer, click on “File”, then “Connect to Computer”.  Enter the computer name, and click on Connect.
When you are back in the main WinHacker dialog, any tree items with a small network cable icon are connected to the remote computer.
When you are done, you can go back into the network connect dialog, and click on Local to disconnect from the remote computer.
How to order WinHacker

You can order WinHacker by the following methods:
•	Standard US mail 
•	Internet web page 
•	CompuServe SWREG Forum 

Click on one of the above to find out how to register with that method.
How to run Plug-ins
You can run Plug-ins (or WinHacker Scripts) from WinHacker, in the Plug-ins page.
You can also run Plug-ins directly from Explorer, by just double-clicking the icon. Plug-ins will have the WinHacker icon, and have the file extension “.wh”.
Features 
Plug-ins
Plug-ins (also known as WinHacker scripts) are add-on script files which can change your computers settings.
In the list box are the plug-ins located in the WinHacker plug-ins directory (usually located in “C:\Program Files\WinHacker\Plugins”).  Double click or click on Run to start a selected plug-in. 
Related Topics
How to run plug-ins 
How to create your own plug-ins 

File Types
You can edit the Windows File Types here.
Select an item by the extension or description, then double click or click on Edit to edit the selected item.  While in the edit dialog, you can change the following options:
•	File Description – The display name of the selected item.
•	Show Shortcut arrow – Check this box to display the shortcut overlay icon on the item.
•	Extension – Choose your preference for displaying the file extensions here.
•	Advanced Edit Flags – Use this to edit advanced options about the selected file type.  Do not change features here unless you know what you are doing.

You can also delete the File Type by clicking on Delete.
Hide Drives
Select one or more drives here to remove them from Explorer.
You can still access the drives from the command line, or by clicking on Start, Run, then typing in the drive letter (“e:”, etc).
This is useful for hiding drives that you do not want other people seeing, and is also a way to stop Explorer from accessing the drive when you open Explorer or Browse dialogs (with CD changers, etc).

Explorer 
Explore as Default
Change this setting to make Explorer start in Explore mode always (Explore on the context sensitive menu of folders).
Menu Items 
Explore from Here
Enable this option to add a menu item called “Explore from Here” to the context sensitive menu of folders.
When selected, Windows will open Explorer in Explore mode, with the selected folder as the root of the tree on the left.

Menu Items to Add to All Files
Enable this option to add a custom menu item for your own program to add to all files in Explorer.
The default is to add Notepad.  You can change this to your favorite text editor, or anything else you wish.
In the Title field, add a “&” in front of one character to make that letter an accelerator key (for quick access with the keyboard).
In the Program to Run field, enter a “%1” where the selected filename should be passed.
Default Program for Non-Associated Files
Enable this option to add a custom menu item for your own program to add to non-associated files.
The default is to add Notepad.  You can change this to your favorite text editor, or anything else you wish.
In the Title field, add a “&” in front of one character to make that letter an accelerator key (for quick access with the keyboard).
In the Program to Run field, enter a “%1” where the selected filename should be passed.

MS-DOS Prompt Item on Directories
Enable this option to add a MS-DOS Prompt menu item to directories.
When selected, WinHacker will launch a Command.com (in Windows 95) or Cmd.exe (in Windows NT) window in the current directory.
Add Quick View item to all files
Enable this item to add the Quick View menu item to all files.  This is useful to view file types, which are not known to Quick View.
Shortcuts 
Shortcut Icons
You can change the icon overlay here.
The default is a small arrow in the lower left corner of shortcuts.  You can change this to a smaller or larger icon, choose none at all, or choose a custom icon to overlay on top of shortcuts.
“Shortcut to” on new shortcuts
When you create a new shortcut, Explorer adds the text “Shortcut to <filename>” before the new file.  You can disable this by click on Off, and Explorer will never add the text again.
Visual 
Show Bitmaps as Icons in Explorer
Enable this option to show bitmap files (.BMP files) in Explorer as thumbnails of the actual picture.
This option can be slow on older machines, since it must load each BMP file in the current directory.
Save Settings on Exit
Change this option to enable or disable Explorer saving the last settings at log-off.
You can use to set a desktop layout, save it, then disable this option and the next time you boot up, your computer will have the same settings you originally saved. 

Shell 
Animated “Click Here to Begin” at startup
Change this option to enable or disable the animated “Click Here to Begin” text on the task bar at startup.
This will only be visible when there are no application running at startup.
Auto Play Audio CD’s
Change this option to enable or disable the auto play of Audio CD’s.  When you insert an audio CD into your computer, it usually starts up the CD Player.  If you do not like this function, disable it here.
Auto Play Data CD’s
Change this option to enable or disable the auto play of Data CD’s.  When you insert an data CD into your computer, Explorer will execute the setup program on the CD (if present).  If you do not like this function, disable it here.
Compressed Files Color
Note: Windows NT only
You can change the color of compressed files here.  Make sure you have this feature enabled in Windows Explorer, by click on View, Options, the View tab, and make sure the checkbox “Display compressed files and folders with alternate color” is checked.
Shell Folders
You can change the location of various shell folders here.
An example is if you want to move your Desktop folder.  Click on the dropdown box, select Desktop, and click on Browse.  Select a folder on your computer (or across the network), and
that folder will become your desktop folder.
Tip of the Day
You can turn on and off the Tip of the Day dialog at startup here.  You can also edit the actual Tip of the Day items by clicking on “Edit Tip of the Day Items…”
Window Animation
When you minimize, restore, or maximize a window, Windows will animate the window while it moves to it’s new location.  
You can disable this option if you find it annoying or to increase the speed of Windows.
Desktop 
Start Menu 
Menu Speed
You can change the menu speed delay here. 
If you change the speed to a lower value, submenus (anywhere in Windows) will pop up faster.  The higher the value, the longer you will have to hold the mouse over the menu item before it pops out.
You can also set this to wait infinitely, until you actually click on the menu item before it pops up.
Start Menu Title
You can change the Start buttons name here.
The replacement name must be 5 characters or less.
If the current Start button name in WinHacker does not match what the current Start button’s title is, click on “Manually Set Current Title”.  You can then enter the current start button name.  An example is if you have an international version of Windows 95, and the Start button does not say “Start”.
Note: This feature modifies the explorer.exe file directly.  A backup copy is stored in the Windows directory as explorer.sav.  If you experience problems, boot into the command line and restore this file to explorer.exe.  The feature has been tested extensively on many machines, and should not cause any problems. 
Cascading Items 
Control Panel
Enable this option to add a cascading Control Panel menu item to your Start Menu.  This is very useful to access a Control Panel Applet without even opening the folder.
Printers
Enable this option to add a cascading Printers menu item to your Start Menu.  This is very useful to access a Printer item without even opening the folder.
Dial-up Networking
Note: Windows 95 only
Enable this option to add a cascading Dial-up Networking menu item to your Start Menu.  This is very useful to access a Dial-up Networking item without even opening the folder.

Special Folders
You can change the properties of the Windows special virtual folders here.
You can perform various functions such as:
•	Add / Remove the item from the Desktop *
•	Add / Remove the item from My Computer *
•	Add / Remove the item from the Start Menu *
•	Change the icon of the folder
•	Create the folder as a file (not a shortcut to the item)
•	See more information about the selected item
•	Some folders may not function correctly when added to these locations.  For example, the Network Neighborhood will not function correctly on the Start Menu.

Startup 
Boot Into GUI (Graphical User Interface)
Note: Windows 95 only 
Enable this option to automatically boot into the Windows 95 GUI.  If you disable this option, Windows 95 will startup into the command prompt.
Disable Logging
Note: Windows 95 only
Disable this option to stop the creation of the bootlog.txt file in your root directory (usually C:\).
Safe Mode Warning (after system crash)
Note: Windows 95 only
Change this option to enable or disable the safe mode startup warning after Windows 95 crashes at startup.
When enabled, the computer will default to boot into Safe Mode. If you do not want your computer automatically booting into Safe Mode, disable this option.
Safe Mode /w Networking
Note: Windows 95 only 
Change this option to enable or disable Safe Mode with networking support.
Show Splash Screen at Startup
Note: Windows 95 only 
Change this option to enable or disable the Windows 95 animated Splash Screen at startup.  You can watch the progress of your computers startup if you disable this (the output from config.sys and autoexec.bat).
Startup Keys 
Startup Keys
Note: Windows 95 only 
Change this option to enable or disable the ability to use the Windows 95 startup keys such as F8 at startup.
Startup Delay
Note: Windows 95 only 
Change this option to increase or decrease the time Windows 95 will wait at startup for a startup key (such as F8).  The default is for Windows to wait 2 seconds.
Dual Boot 
Dual Boot
Note: Windows 95 only 
Change this option to enable or disable the Dual Boot functionality in Windows 95.  When enabled, you can dual boot back to your previous operating system (such as MS-DOS 6.22).
Boot Windows 95 As Default OS
Note: Windows 95 only 
Change this option to enable or disable Windows 95 as being the default operating system for this computer.  If disabled, your previous operating system (such as MS-DOS 6.22) will become the default operating system at startup.
Startup Menu 
Boot Into Startup Menu
Note: Windows 95 only 
Change this option to enable or disable booting up directly into the Windows 95 startup menu (same as pressing F8 at startup).
You can also change the default item , or change the timeout value .

Default Item 
Default Item
Note: Windows 95 only 
Change this option to select the default menu item at startup.  The default is to let Windows 95 choose the best menu item, but you can force one here (such as Command prompt only, etc).

Default Item Delay
Note: Windows 95 only 
Change this option to increase or decrease the time Windows 95 will allow for keystrokes when in the menu.  After this delay time, Windows 95 will select the default item, and startup Windows 95 automatically.
System 
Add / Remove Programs
You can modify the list in the Control Panel applet called Add / Remove Programs here.
If you removed a program, and it’s still in this list, you can delete it here.  You can also modify each option (the display name and program path).
Beep on System Errors
Change this option to enable or disable the beep on system errors.
Disable Tildes (~) on Short File Names
Change this option to enable or disable the creation of short file names with tildes (~) in the file name.
Example, a file called “My Document.doc” will be changed to “MyDocu~1.doc” in MS-DOS.  If this option is disabled, the short file name will be “MyDocume.doc” instead.
Warning:  This can cause some programs to stop working (such as 16-bit programs).  Since some programs refer to “C:\Program Files” as “C:\Progra~1” and that will change after this setting is changed.
Support for Removable IDE Drives (SyQuest)
Note: Windows 95 only
Change this option to enable or disable the support for removable IDE drives such as the SyQuest brand IDE drives.
Double-Buffering
Note: Windows 95 only
Change this option to enable or disable Double-Buffering.
This option should only be changed if needed.  It is normally used in SCSI systems.
Load command.com / drvspace.bin > 640k
Note: Windows 95 only
Change this option to enable or disable the loading of command.com / drvspace.bin (DriveSpace driver) above the 640k memory block.  This can free extra memory that can be used by other programs.
Note:  This may cause problems for machines running Novell NetWare.

Registration Information
You can change the registration information for your computer here.
Task Manager
You can change various options for the Windows task manager here.
You can disable Cool Switching (Alt-Tab), and change the timeout values for hung apps, etc.
Compression Drivers 
DriveSpace
Note: Windows 95 only 
Change this option to enable or disable the DriveSpace compression drivers.  You can disable this feature to free extra MS-DOS memory.
Warning:  Make sure you are not running DriveSpace on any drives before disabling this item.

DoubleSpace
Note: Windows 95 only 
Change this option to enable or disable the DoubleSpace compression drivers. You can disable this feature to free extra MS-DOS memory.
Warning:  Make sure you are not running DoubleSpace on any drives before disabling this item.
Setup 
Default Setup Path
You can change the default setup path here.
When you add a new device to your computer, Windows will ask for the setup disks.  If you have them on your local hard disk, you can enter the path here (e.g. “c:\win95”).
Mouse 
Mouse Sensitivity
You can change the mouse sensitivity options here.
The Double Click section changes the rectangle that you must stay in to double click (after the 1st click).
The Drag section changes the threshold until Windows will start dragging or moving the object.
Logitech Mice 
Middle Mouse Button
This option will change the role of the middle mouse button.

You can make the middle mouse button act as a double click to ease the use of your computer. 

Note:  This feature will only work will true Logitech mice, not 3 button clones.
Network 
Auto Login
Note: Windows NT only
Change this option to enable or disable the Auto Login feature.
If you enable this feature, hen your computer is turned on, it will log in automatically with the account specified.
Warning:  This can be a security risk on a public machine!
Printers 
Time To Live (TTL)
You can change the default TCP/IP TTL here.  This value specifies the number of ‘hops’ or hosts that your TCP/IP request can go through before timing out.
If you have trouble connecting to hosts more than 32 hops away, you can try increasing this number to 128.
Global TCP/IP Settings 
Printer Spooler Notification
Note: Windows NT only
Change this option to enable or disable the Printer Spooler Notification feature in Windows NT.
If you print server sends you Windows Popup messages whenever you print, you can disable this feature (on the print server, not the local machine) and turn it off.  Some users find the Popup messages annoying.
Script File (Plug-ins) Reference 
Creating your own Plug-ins
Plug-ins are based on a simple scripting language, which you can create your own plug-ins with.
Be sure to check the “Plugins” directory installed by WinHacker.  You can find this directory usually at “C:\Program Files\WinHacker\Plugins”. They include many sample scripts, and many other useful scripts.
Sample Script
// WinHacker Script
// Copyright © 1996 Wedge Software
//
// Hello World Example.  Simple example of the Main section.
//

[Main]
// Ask =
Desc = Hello world application
StartMessage = Hello World!
ExitMessage = Goodbye World!

A breakdown of the above script
Lines that start with “//” or “;” are comments.  WinHacker does not interpret them.  You can use these to mark your scripts, add in notes or comments, etc.
Every script requires a “[Main]” section.  In this section, the following commands are valid:
Item	Value	
Ask	Enter a string here, and WinHacker will bring up a Yes / No box with the string.  If the user selects No, then the script will be aborted.	
Desc	Enter a description of the script here.	
StartMessage	Enter a start message here.  It will be displayed before the script runs.	
ExitMessage	Enter a exit message here.  It will be displayed after the script runs.	
 
Note: Underlines items are required
Click on one of the below topics to view more about Plug-ins.
Modifying the Windows Registry 
Modifying INI Files 
Managing Files 

Advanced Options
Asking for User Input 
Using Environment Variables 

Modifying the Windows Registry
You can modify the Windows Registry used to store configuration information with Plug-ins.
Here is an example that disables the Norton Antivirus 95 Splash Screen.
Sample Script
// WinHacker Script
// Copyright © 1996 Wedge Software
//
// Disables the NAV 95 Splash Screen
//

[Main]
Desc = Disables the Norton Antivirus 95 Splash Screen
[Registry]
Procs = 2

[RegistryProc#1]
RootKey = HKEY_LOCAL_MACHINE
Path = SOFTWARE\Symantec\Norton AntiVirus\Auto-Protect
Item = DisableSplashScreen
Action = WriteDword
Value = 1

[RegistryProc#2]
RootKey = HKEY_LOCAL_MACHINE
Path = SOFTWARE\Symantec\Norton AntiVirus\Clinic
Item = DisableSplashScreen
Action = WriteDword
Value = 1

A breakdown of the above script
The above script changes two registry entries.  For each registry entry, you need a new Registry procedure.
The first section is called “[Registry]”.  This section has one required value called “Procs”.  Enter the number of procedures you are going to use here.  This sample uses two.
Then for each procedure, you need to create a new section in this format:
“[RegistryProc#X]” where X is the number of the procedure.
Inside the section, you can have the following values:
Item	Value	
Ask	Enter a string here, and WinHacker will bring up a Yes / No box with the string.  If the user selects No, then the current procedure will be aborted.	
RootKey	Enter the root key here.  The following values are valid:

HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_USERS
HKEY_CLASSES_ROOT	
Path	Enter the path of the registry value here.	
Item	Enter the value’s display name here.  

You can enter “(all)” if you use the action DeleteValue if needed.	
Action	Enter the action here.  The following values are valid:

WriteString (write a string)
WriteDword (write a DWORD (integer) value)
WriteHex (write a hexadecimal value)
DeleteKey (delete the key)
DeleteValue (elete the value)	
Value	Enter the items new value here.  This is not required for DeleteValue and DeleteKey.

Note:  For the WriteHex action, you can write the new value in one of two forms:
Value = 0x20 0x02 0x1A 
Value = 20 02 1A	

Note: Underlines items are required

Modifying INI Files
You can modify INI files used to store configuration information with Plug-ins.
Sample Script
// WinHacker Script
// Copyright © 1996 Wedge Software
//
// Example INI script
//
// For best testing results, put a “file.ini” file (blank)
// into the c:\ directory.
//
// The file will be created if not there (using the direct method,
// putting “c:\” in the location, and “file.ini” as the file.
// The user can create it also by putting “file.ini” in the Open
// dialog box (in the file space), even though it is not there.
//
// You can use 2 actions, Write and Delete
//

[Main]
Desc = Full INI file example

[Ini]
Procs = 1

// Create the file if not there
[IniProc#1]
// Ask = Run IniProc#1?
File = (DialogAskFolder#1)
Section = Junk Section
Item = Junk
Action = Write
Value = This was written just to create the file...

[DialogAskFolder#1]
Append=file.ini

A breakdown of the above script
The above script changes two INI entries.  For each registry entry, you need a new INI procedure.
The first section is called “[INI]”.  This section has one required value called “Procs”.  Enter the number of procedures you are going to use here.  This sample uses one.
Then for each procedure, you need to create a new section in this format:
“[INIProc#X]” where X is the number of the procedure.
Inside the section, you can have the following values:
Item	Value	
Ask	Enter a string here, and WinHacker will bring up a Yes / No box with the string.  If the user selects No, then the current procedure will be aborted.	
File	Enter the file name here.	
Section	Enter the section name here.	
Item	Enter the value’s display name here.	
Action	Enter the action here.  There are only 2 valid values here, Write, and Delete.	
Value	Enter the item value here.  This option is not required for Delete.	

Note: Underlines items are required

Managing Files
You can manage files in Plug-ins, performing common tasks such as moving, renaming, and deleting.
Sample Script
// WinHacker Script
// Copyright © 1996 Wedge Software
//
// Example File script
//

[Main]
Desc = Full File Operations example

[File]
Procs = 5

// Copy file
[FileProc#1]
Ask = Create test.file in c:\?
Source = c:\autoexec.bat
Dest = c:\test.file
Action = Copy

// Move file
[FileProc#2]
Ask = Move test.file to c:\temp?
Source = c:\test.file
Dest = c:\temp\test.file
Action = Move

// Delete file
[FileProc#3]
Ask = Delete test.file in c:\temp?
Source = c:\temp\test.file
Action = Delete

// Create dir
[FileProc#4]
Ask = Create test dir?
Source = c:\test dir
Action = CreateDir

// Delete file
[FileProc#5]
Ask = Delete the dir we just made?
Source = c:\test dir
Action = Delete

A breakdown of the above script
The above script demonstrates creating, moving and deleting of files, and also creates and deletes directories.
The first section is called “[File]”.  This section has one required value called “Procs”.  Enter the number of procedures you are going to use here.  This sample uses five.
Then for each procedure, you need to create a new section in this format:
“[FileProc#X]” where X is the number of the procedure.
Inside the section, you can have the following values:
Item	Value	
Ask	Enter a string here, and WinHacker will bring up a Yes / No box with the string.  If the user selects No, then the current procedure will be aborted.	
Source	Enter the source filename or directory name here.	
Dest	Enter the destination filename here. (not needed for Delete or CreateDir actions)	
Action	Enter the action here.   The following actions are valid:

Copy (copy a file)
Move (move a file)
Delete (delete a file or directory)
CreateDir (create a new directory)	

Note: Underlines items are required

Advanced Options 
Asking for User Input
WinHacker plug-ins can ask the user for input if needed.  The following types can be used:
Description	Procedure Name	
Choose Folder 	[DialogAskFolder#X]	
Ask Yes or No	[DialogAskYesNo#X]	
Choose Icon	[DialogAskIcon#X]	
Ask for a String	[DialogAskString#X]	
Ask for a DWORD	[DialogAskDword#X]	
Ask for a Hexadecimal Value	[DialogAskHex#X]	
File Open	[DialogAskFileOpen#X]	
File Save	[DialogAskFileSave#X]	
Choose Drive	[DialogAskDrive#X]	
 
You can use the following values in the procedure for any dialogs:
Item	Value	
Append	Appends a string after the return value	
Ask	Enter a string here, and WinHacker will bring up a Yes / No box with the string.  If the user selects No, then the current procedure will be aborted	
Info	Information about what this dialogs does	

Each type also has it’s own separate properties:
Choose Folder
Item	Value	
None		

Ask Yes or No
Item	Value	
YesText	Text displayed for the Yes title (default is “No”)	
NoText	Text displayed for the No title (default is “No”)	
ReturnIfYes	Value to return if Yes is selected (default is “1”)	
ReturnIfNo	Value to return if No is selected (default is “0”)	

Choose Icon
Item	Value	
DefaultFile	Default file 	
DefaultIcon	Default icon number	
Default	Default icon and number (such as “c:\test.dll,0”).  You can not use this in conjunction with DefaultFile or DefaultIcon.	

Ask for String
Item	Value	
Default	Default text displayed	

Ask for DWORD
Item	Value	
Default	Default number displayed	
Min	Minimum value allowed	
Max	Maximum value allowed	

Ask for Hexadecimal
Item	Value	
Default	Default hexadecimal number displayed	

File Open
Item	Value	
Default	Default file name	
Filter	Filter to display.  The default is “All Files|*.*||”, which will add a item called “All Files” for . files.

For example, if you want a filter that only shows 2 types of files, create it like this:

“Text Files|*.txt|BMP Files|*.bmp||”

This string must end with double pipes.	

File Save
Item	Value	
Default	Default file name	
Filter	Filter to display.  The default is “All Files|*.*||”, which will add a item called “All Files” for . files.

For example, if you want a filter that only shows 2 types of files, create it like this:

“Text Files|*.txt|BMP Files|*.bmp||”

This string must end with double pipes.	

Choose Drive
Item	Value	
Default	The default drive to display.  (The default is “c”)	

Using Environment Variables
Since not everyone installs Windows 95 or Windows NT in their standard directories, if you want to modify a file there, you need to change the script file or ask the user edit it successfully.  WinHacker can use environment variables to solve this.
WinHacker lets you put environment variables in any value field in any procedure.
Valid Environment Variables
%windir%	Windows directory 	
%winsysdir%	Windows System directory	
%currentdir%	Current directory (where the script file is running from)	
%temp%	Windows temporary directory	

You can also you any environment variables registered by your system.
Example
// WinHacker Script
// Copyright © 1996 Wedge Software
//

[Main]
Desc = Using system environment variables example
[Ini]
Procs = 1

[IniProc#1]
File = %windir%\system.ini
Section = Junk Section
Item = Junk
Action = Write
Value = This file is located in %windir%!

A breakdown of the above script
The above script writes the system.ini file, in the Windows directory.  The text “%windir%” is changed to the real Windows directory when the script is run.

Index
”
”Shortcut to” on new shortcuts	8
A
Add / Remove Programs	12
Add Quick View item to all files	7
Animated ”Click Here to Begin” at startup	8
Asking for User Input	22
Auto Login	15
Auto Play Audio CD’s	8
Auto Play Data CD’s	8
B
Beep on System Errors	13
Boot Into GUI (Graphical User Interface)	11
Boot Into Startup Menu	12
Boot Windows 95 As Default OS	12
C
Compressed Files Color	9
Connecting to a remote computer	5
Control Panel	10
Creating your own Plug-ins	15
D
Default Item	12
Default Item Delay	12
Default Program for Non-Associated Files	7
Default Setup Path	14
Dial-up Networking	10
Disable Logging	11
Disable Tildies (~) on Short File Names	13
Double-Buffering	13
DoubleSpace	14
DriveSpace	14
Dual Boot	12
E
Explore as Default	7
Explore from Here	7
F
File Types	6
H
Hide Drives	6
How to order WinHacker	5
How to run Plug-ins	6
L
Load command.com / drvspace.bin > 640k	13
M
Mail Order Form	3
Managing Files	20
Menu Items to Add to All Files	7
Menu Speed	9
Middle Mouse Button	14
Modifying INI Files	18
Modifying the Windows Registry	16
Mouse Sensitivity	14
MS-DOS Prompt Item on Directories	7
P
Plug-ins	6
Printer Spooler Notification	15
Printers	10
R
Register over CompuServe	5
Register over the Internet	5
Registration Information	13
S
Safe Mode /w Networking	11
Safe Mode Warning (after system crash)	11
Save Settings on Exit	8
Shell Folders	9
Shortcut Icons	8
Show Bitmaps as Icons in Explorer	8
Show Splash Screen at Startup	11
Special Folders	10
Start Menu Title	9
Startup Delay	11
Startup Keys	11
Support	3
Support for Removable IDE Drives (SyQuest)	13
T
Task Manager	13
Time To Live (TTL)	15
Tip of the Day	9
U
Using Environment Variables	24
W
Welcome to WinHacker	3
Window Animation	9