home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windoware
/
WINDOWARE_1_6.iso
/
winutil
/
setdrw
/
setdrw.wbt
Wrap
Text File
|
1991-10-24
|
934b
|
33 lines
; -- SETDRW: "Set Drive Window" Batch Builder Batch file
; -- by Jim Ferguson, 71477, 2345
; This Batch Builder file will return the C:\ drive window
; to a preset size upon startup or when re-opened.
;
; Use the WinPosition("C:\") function to get the
; position of the Drive Window. Copy those numbers
; onto the line containing the WinPosition() function
;
; Place this file in the AutoStart group to have it in
; effect for the entire duration of the NDW session
; -----------------------------------------------------------------------
WinHide("") ;hides the running .wbt icon
; -- loop until the C:\ drive pane is present
:waitfordrive
If WinExist("C:\") == @TRUE then goto resizedrive
Yield
Yield
Yield
goto waitfordrive
; -- size the C:\ drive window and pause until
; -- drive window is closed
:resizedrive
WinPlace(78,79,809,735, "C:\")
WinWaitClose("C:\")
goto waitfordrive