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

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

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.


Move your icons as you like and prefer to save this layout to make it later if it is to where appropriate restore. Desktop-OK for Microsofts c Windows
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 Info: But in practice this is not always
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 ▲


Windows

... Save Desktop Layout in *.dok file or *.ini


You can save the Windows 11, 10, 8.1, etc.  Desktop Icon Layout in the *.dok file or in the DesktopOK.ini If you save a new layout setting, saved desktop
Windows

... Windows always in the foreground under Windows 11, 10, 8.1, ...


Sometimes you want to see a window under Windows 11, 10, 8.1, always in the foreground, or?  Info: Do you like the Always on Top feature that is provided

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

... DesktopOK Tip



3D.Benchmark.OK # AlwaysMouseWheel # AutoHideDesktopIcons # AutoPowerOptionsOK # ClassicDesktopClock # DesktopDigitalClock # DesktopNoteOK # DesktopOK # DontSleep # ExperienceIndexOK # Find.Same.Images.OK # FontViewOK # GetPixelColor # GetWindowText # Internet # IsMyHdOK # KeepMouseSpeedOK # NewFileTime # OpenCloseDriveEject # PhotoResizerOK # Q-Dir # QuickMemoryTestOK # QuickTextPaste # 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

  + 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
  + MeinPlatz
  + DesktopOK
  + ProcessKO
  + WinBin2Iso
  + ThisIsMyFile
  + TheAeroClock
  + CoronaKO
  + MatriX.CoronaKO
  + Find.Same.Images.OK
  + PAD-s


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

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


► Try Malwarebytes for Malware! ◄

► Serial number of the hard disk under Windows 11, 10, ... via command prompt! ◄

► Find and use the pre-installed calculator app at Windows 10! ◄

This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....