- May
- 3,515
- 5
I have two desktop shortcuts which are nearly identical, see below. Both change screen size to 1024x768 using external program QRES.EXE successfully, and supposed to change screen saver timeout - the first to 1000s, the second to 15s. Only the Shortcut 2 changes the screensaver timeout. Using %+ or & in Shortcut 1 instead of ^ (my default since 4DOS for command separator) made no difference. Note that SHRALIAS is already loaded when either one is invoked, and there may be active TCC session (fully initialized, explicitly specifying the command separator character), or no TCC.
Shortcut 1
Command=F:\JPSOFT\IR\tcc.exe
Arguments=/I /H /L: /C ( F:\UTIL\qres.exe /v /x:1024 /y:768 ^ set _dummy=%@winsystem[17,1] ^ set _dummy=%@winsystem[15,1000] ^ exit )
DirectoryDescription=Set screen size to 1024x768
Link=C:\Documents and Settings\All Users\Desktop\1024 acs3.lnk
Icon=C:\WINDOWS\system32\SHELL32.dll
Offset=22
Mode=1
Hotkey=Shift-Ctrl-Alt-3
Shortcut 2
Command=F:\JPSOFT\IR\tcc.exe
Arguments=/I /H /L: /C ( F:\UTIL\qres.exe /v /x:1024 /y:768 ^ set _dummy=%@winsystem[17,1] ^ set _dummy=%@winsystem[15,15] ^ exit )
DirectoryDescription=15-s screensaver
Link=C:\Documents and Settings\All Users\Desktop\Screensaver Instant acsD.LNK
Icon=%SystemRoot%\system32\SHELL32.dll
Offset=109
Mode=1
Hotkey=Shift-Ctrl-Alt-D
Shortcut 1
Command=F:\JPSOFT\IR\tcc.exe
Arguments=/I /H /L: /C ( F:\UTIL\qres.exe /v /x:1024 /y:768 ^ set _dummy=%@winsystem[17,1] ^ set _dummy=%@winsystem[15,1000] ^ exit )
DirectoryDescription=Set screen size to 1024x768
Link=C:\Documents and Settings\All Users\Desktop\1024 acs3.lnk
Icon=C:\WINDOWS\system32\SHELL32.dll
Offset=22
Mode=1
Hotkey=Shift-Ctrl-Alt-3
Shortcut 2
Command=F:\JPSOFT\IR\tcc.exe
Arguments=/I /H /L: /C ( F:\UTIL\qres.exe /v /x:1024 /y:768 ^ set _dummy=%@winsystem[17,1] ^ set _dummy=%@winsystem[15,15] ^ exit )
DirectoryDescription=15-s screensaver
Link=C:\Documents and Settings\All Users\Desktop\Screensaver Instant acsD.LNK
Icon=%SystemRoot%\system32\SHELL32.dll
Offset=109
Mode=1
Hotkey=Shift-Ctrl-Alt-D