DesktopCmd Ver: 1.6.3.031 Copyright (c) 2010 by Jamie O'Connell
Usage: DesktopCmd [<save | restore | query> </n "Layout" |
/f "filepath.dtr"> /y /?]
/n "Layout" - Use the named layout for save or restore.
- Quote "Layout" if it contains embedded spaces.
/f "filepath.dtr" - Use the named file path for save or restore.
- Quote "filepath.dtr" if it contains embedded spaces.
/y - Answer 'yes' to any questions: silent operation.
/? - Display this text.
Command line mode
All actions invoked by command line parameters are executed without prior confirmation, no matter which
settings have been made. If the settings are to be considered anyway, the parameter /dlg has to be passed as well.
After a successful execution 0 is returned as exit code.
DeskSave can be started with the following command line parameters:
/s
Saves the desktop icon layout for the current screen resolution as primary layout. Does not create a system tray icon.
/r
Restores the desktop icon layout according to the saved primary layout. Does not create a system tray icon.
/sf filename
Saves the desktop icon layout to a .dsv file. Does not create a system tray icon.
/rf filename
Restores the desktop icon layout according to a .dsv file. Does not create a system tray icon.
/t
A system tray icon is created.
/nosplash
DeskSave does not show a splash screen at start.
/port
Starts DeskSave in portable mode. DeskSave does not leave any traces on the system, which may e.g. be useful when starting from a USB flash drive. Settings are saved to Options.ini in the directory from which DeskSave was started, provided that there is write permission for this directory.
The batch file DeskSavePortable.bat can be used to easily start DeskSave in portable mode, command
line parameters can also be passed to this batch file.
Examples:
DeskSave /s saves the desktop icon layout as primary layout without confirmation
DeskSave /s /dlg as above, with confirmation
DeskSave /rf MyLayout.dsv restores the desktop icon layout according to MyLayout.dsv
DeskSave /rf MyLayout.dsv /port as above, however without leaving traces on the system
DeskSave /nosplash /port starts without splash screen in portable mode with system tray icon
欢迎光临 批处理之家 (http://bbs.bathome.net/) | Powered by Discuz! 7.2 |