Add a 'Send-To' Window to Windows 3.x
Tip Windows 95 allows you to right-click any object, click Send To, and then select from a customised list of frequently used locations such as printers, file viewers, folders, and floppy drives. Wouldn't it be great to have a similar feature in Windows 3.x? You can. All you need to do is create a custom window in File Manager into which you can drag and drop your files. Start File Manager and select a location for your SendTo folder. Choose File--Create Directory. Type SendTo (or another name of your choice) and click OK. Select the new directory and choose Window--New Window. To make sure this window shows only your drag-and-drop targets, choose View--Directory Only. The next step is to fill this window with useful objects. These can be simple batch files for moving or copying files, or they can be applications. To create a batch file for moving files to your Backup directory, start Notepad and type this line: move %1 c:\backup. Save the batch file in your SendTo folder with a name like to_bakup.bat. To create a batch file for copying files to a floppy, type this: copy %1 a:\. Save it in your SendTo folder as to_flopy.bat. Add as many batch files as you want. Just take care not to use a name like move.bat or copy.bat or they'll conflict with the DOS move and copy commands. Once done, you can drag any file on to the batch file's icon. DOS will flash on screen while the operation is performed, then disappear. Some applications work in the SendTo folder as well. For example, if you use Microsoft Anti-Virus for Windows (which came with DOS 6.22), copy its file, mwav.exe, to your SendTo directory. Then, to scan a file for viruses, just drag it from a File Manager window onto mwav.exe in the SendTo window. Click OK to acknowledge the scan report. Imitate Win 95's Send To menu in Windows 3.x, then drag files onto batch or other programs in the SendTo window
Unfortunately, you can't be so cavalier about most program files -- many of them need to be in the same directory as the files installed with them. But you may be able to get around this. First, copy just the .exe file to SendTo to see if it will work when you drag a file on to it. If it doesn't, copy the program's .dll files. (Always copy files rather than moving them -- if you can't make the program work, you can just delete the copied files rather than trying to remember where they originally came from.) If it still doesn't work, copy more files from the program's home directory. | Category: Windows 3.x Issue: Oct 1997 Pages: 165-167 |
These Web pages are produced by Australian PC World © 1997 IDG Communications