Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Windows Tip - DesktopOK ► «««« 09 / 16 »»»»

Save the icon layout with date and time format via the command line!


If requested by the user, the icon layout with date and time format can be saved on all MS Desktop and Server OS!



 
If you want to save your icon layout to a file as a file name using an autostart batch file, but want to use the name as with manual saving!

Please do not forget in DesktopOK from the version 6.99!
PS: The old DesktopOK parameters for saving the icon layout continue to work!


Content:

1.) ... The procedure how to use it! 
2.) ... The source code for the procedure in DesktopOK for this action!  



1.) The procedure how to use it! 

Use _date_time_res_ or  _date_time_ as the program argument   to make use of this function!

for example D:\desktopok.exe C:\save_dok\_date_time_res_.dok

then the following file is created and the desktop icon layout is saved ;-):
C:\save_dok\2020-04-18_10-23-58_1920x1080.dok

(Image-1) Use the command line to save the icon layout with the date and time format!
Save the icon layout with the date and time format on the command line!

-
▲ Back to the top ▲



2.) The source code for the procedure in DesktopOK for this action!  

Here is the explanation of how the name comes about!


CString Path   =GetFilePath(FileName);
CString Name =GetFileName(FileName);

Name.Replace(CString("_date_time_res_"),Date+"_"+Time+"_"+Res);
Name.Replace(CString("_date_time_"),Date+"_"+Time);

FileName=Path+Name;



Still save problems with icons layout with date and time format.

What can I do if I still have problems with the icon layout saving the date and time format is a frequently asked question. Restart the Windows operating system, please carry out a correct Windows restart . If the problem with saving the icon layout with the date and time format persists, please check whether you are using the latest version of DesktopOK ! 





Updated on: 18 April 2020 09:28 Windows
Keywords: desktopok, save, icon, layout, with, date, time, format, command, line, requested, user, saved, desktop, server, windows


Similar information on the page

Windows

... Command line option to save or load the icons layout directly from a file?


Yes, you can use command line to save or load the desktop icons layout directly from a file From DesktopOK 1.57 an higher.   1. The examples to load
Windows

... Can I save the desktop icon layout in the company without Admin rights?


Yes, you can also save the icon positions without Admin rights, on all Windows  Desktop and Win 11, 10, and MS Server OS Content: 1. Save the icon
Windows

... Save icon layout and restore it.


Imagine having your desktop designed exactly how you like it - icons are neatly arranged, files and programs are easy to find. But suddenly, out of the blue,
Windows

... Save Icon Layout at Program Start and exit


Save Icon Layout at Program Start, Exit is also a way that we can have the program run at login so as to restore the icons the way it runs at startup
Windows

... Difference between Save Current State and Save Current State at Desktop Item?


The Difference between Save Current State and Save Current State at Desktop Item in DesktopOK Save Current State: save the current Desktop Icons Position
Windows

... Save electricity, save hardware, save money, save nature on all Windows


Although Windows can use various power-saving functions and even independently switch between several power profiles Content: 1. Nature-friendly under
Windows

... Date / time change command prompt, with examples, how to?


The solution is quite simple to use the cmd.exe command line to change the date or time Changing the date or time is sometimes quicker via the command line



▲ Back to the top ▲



See also : ... DesktopOK FAQ
Back to : ... DesktopOK Homeage

... DesktopOK Tip



3D.Benchmark.OK # AlwaysMouseWheel # AutoHideDesktopIcons # AutoPowerOptionsOK # ClassicDesktopClock # DesktopDigitalClock # DesktopNoteOK # DesktopOK # DontSleep # Edge-Chromium # ExperienceIndexOK # Find.Same.Images.OK # FontViewOK # GetPixelColor # GetWindowText # Internet # IsMyHdOK # KeepMouseSpeedOK # NewFileTime # OpenCloseDriveEject # OpenGL # PhotoResizerOK # Q-Dir # QuickMemoryTestOK # QuickTextPaste # Registry # ShortDoorNote # StressMyPC # System # TheAeroClock # Tools # Version # WinScan2PDF #




  

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks
  + Security

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + IsMyMemoryOK
  + StressTheGPU
  + Brightness.Manager.OK
  + ProcessKO
  + WinBin2Iso
  + ThisIsMyFile
  + TheAeroClock
  + Bitte.Wenden
  + CoronaKO
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Settings | Windows 10 | gc24b | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2025 by Nenad Hrg ERR2: softwareok.de • softwareok.com • softwareok.com • softwareok.eu


► How do I uninstall Magnifier from my Windows Desktop or Server? ◄
► Who benefits most from fast and convenient extraction of Office images? ◄
► How to define in Windows 8.1 / 10 a program to open multiple file types? ◄
► What is Windows Terminal App under Win-10? ◄


This website does not store personal data. However, third-party providers are used to display ads,
which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF).
The CMP ID is 300 and can be individually customized at the bottom of the page.
more Infos & Privacy Policy

....