中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-07 07:57
48,040 topics / 350,125 posts / today 1 new / 48,252 members
DOS批处理 & 脚本技术(批处理室) » [Solved] How to create "Show Desktop.scf" to the Quick Launch folder directory
Printable Version  6,646 / 14
Floor1 tireless Posted 2007-12-03 12:09
银牌会员 Posts 1,122 Credits 2,025
The quick launch folder is at C:\Documents and Settings\Username\Application Data\Microsoft\Internet Explorer\Quick Launch

The problem is not knowing what the username is...

[ Last edited by tireless on 2007-12-2 at 08:06 PM ]
Floor2 lxmxn Posted 2007-12-03 12:13
版主 Posts 4,938 Credits 11,386


Enter the set command in the command line to view environment variables.
Floor3 ansipeter Posted 2007-12-03 12:58
中级用户 Posts 130 Credits 269
```
@echo off&setlocal&title Create "Show Desktop" Shortcut
>>Show Desktop.scf echo
>>Show Desktop.scf echo Command=2
>>Show Desktop.scf echo IconFile=explorer.exe,3
>>Show Desktop.scf echo
>>Show Desktop.scf echo Command=ToggleDesktop
```
Floor4 tireless Posted 2007-12-03 13:10
银牌会员 Posts 1,122 Credits 2,025
"Enter the command `set` in the command line to view environment variables.
Good stuff. I was still "collecting environment variables" before -_-|||

Thanks to both of you.

[ Last edited by tireless on 2007-12-2 at 05:12 PM ]
Floor5 tireless Posted 2007-12-03 13:15
银牌会员 Posts 1,122 Credits 2,025
Then how to create to %APPDATA%\Microsoft\Internet Explorer\Quick Launch?
Floor6 lxmxn Posted 2007-12-03 13:48
版主 Posts 4,938 Credits 11,386
Just drag the file generated by the 3rd floor to the path displayed by the 2nd floor.
Floor7 tireless Posted 2007-12-03 13:58
银牌会员 Posts 1,122 Credits 2,025
Is creating directly like this?
>>"%APPDATA%\Microsoft\Internet Explorer\Quick Launch"\Show Desktop.scf echo
>>"%APPDATA%\Microsoft\Internet Explorer\Quick Launch"\Show Desktop.scf echo Command=2
>>"%APPDATA%\Microsoft\Internet Explorer\Quick Launch"\Show Desktop.scf echo IconFile=explorer.exe,3
>>"%APPDATA%\Microsoft\Internet Explorer\Quick Launch"\Show Desktop.scf echo
>>"%APPDATA%\Microsoft\Internet Explorer\Quick Launch"\Show Desktop.scf echo Command=ToggleDesktop

Is there a more concise code?

Weakly ask, can it appear on the far left of the quick launch bar?

[ Last edited by tireless on 2007-12-2 at 06:17 PM ]
Floor8 echo Posted 2007-12-03 15:08
初级用户 Posts 69 Credits 148
The third floor is the correct answer...
Floor9 summerbreeze Posted 2007-12-03 15:25
新手上路 Posts 6 Credits 16
```@echo off
if exist 显示桌面.scf del 显示桌面.scf
>>显示桌面.scf echo
>>显示桌面.scf echo Command=2
>>显示桌面.scf echo IconFile=explorer.exe,3
>>显示桌面.scf echo
>>显示桌面.scf echo Command=ToggleDesktop
copy 显示桌面.scf "%APPDATA%\Microsoft\Internet Explorer\Quick Launch" /y>nul
Floor10 lxmxn Posted 2007-12-03 15:26
版主 Posts 4,938 Credits 11,386
Originally posted by tireless at 2007-12-3 13:58:
Is this how to create it directly?
>>"%APPDATA%\Microsoft\Internet Explorer\Quick Launch"\Show Desktop.scf echo
>>"%APPDATA%\Microsoft\Internet Explorer\Quick Launch" ...

Why make it more concise?


To adjust the position, just drag it with the mouse. Currently, I don't know how to adjust the position with a batch script, o_O

[ Last edited by lxmxn on 2007-12-3 at 03:27 PM ]
Floor11 everest79 Posted 2007-12-03 15:35
金牌会员 Posts 1,127 Credits 2,564
Floor12 lxmxn Posted 2007-12-03 15:47
版主 Posts 4,938 Credits 11,386
Originally posted by everest79 at 2007-12-3 15:35:
Which position to adjust?

Look at the red words on floor 7.
Weakly asking, can it appear on the far left of the quick launch bar?
Floor13 tireless Posted 2007-12-03 16:05
银牌会员 Posts 1,122 Credits 2,025
Okay. Can't understand the first line of code.

[ Last edited by tireless on 2007-12-2 at 08:15 PM ]
Floor14 everest79 Posted 2007-12-03 16:46
金牌会员 Posts 1,127 Credits 2,564
I used to have this problem too. It's very strange. The saving of the toolbar settings in the taskbar is constrained by whether the desktop settings are saved, but I exported the current desktop settings and couldn't find the relevant settings for the taskbar
Floor15 INeverAsk Posted 2008-01-22 09:26
初级用户 Posts 42 Credits 97
Just trying it out since the quick show desktop on one of my hosts is gone
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023