Skip to content
Rubin Shrestha
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
  • Search
Rubin Shrestha
  • Search
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
Home » Blog » Set the date back by 2882 days in command line / bat file
Blog

Set the date back by 2882 days in command line / bat file

by Rubin|Published November 30, 2024

Task: set the clock back 2882 days in a .bat file.

Apparently this can be done in via powershell, however, I need to summon said task in a .bat file. Bonus points if it does not require administrative privilege

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/set-date?view=powershell-7.4&viewFallbackFrom=powershell-7.3

You may also like

Published January 4, 2023

Cannot recover Windows Server 2016 ISO using Rufus – Unsupported image

I have two ISO files for Microsoft Server 2019 and 2022 installations, officially downloaded from Microsoft MSDN. I need to create a […]

How to show excluding vat prices in ‘recently viewed products’?
Published July 21, 2023

How to show excluding vat prices in ‘recently viewed products’?

It now only shows the including vat price but I can’t find the function to show the excluding vat price. The recently […]

How to automatically repair copy/pasted filenames from web in Windows Explorer to avoid illegal characters?
Published July 27, 2022

How to automatically repair copy/pasted filenames from web in Windows Explorer to avoid illegal characters?

Is there any way to paste text from web automatically simply as a single line text in Windows 10 File explorer? I’m […]

Pihole in a IPv6 setup: How to reliable distinguish certain clients for them to be grouped?
Published February 22, 2024

Pihole in a IPv6 setup: How to reliable distinguish certain clients for them to be grouped?

In my local home network, I want to have IPv4 and IPv6. I want to use my pihole as primary DNS. I […]

Interesting

  • How to add groups fieldset with add row in admin block in magento 2
  • How to Issue Refunds to Store Credit via Magento API?
  • How to change background-color from search autocomplete onmouseover? Magento2
  • magento 2 how to save custom field in sales order grid table?
  • magento2 custom tab add product grid filter issue
  • Set the date back by 2882 days in command line / bat file
  • Adding leading zeros and reduce decimal place in Notepad++
  • Gparted doesn’t let me extend partition?

Post navigation

  • Previous post Gparted doesn’t let me extend partition?
  • Back to post list
  • Next post magento2 custom tab add product grid filter issue
——————-
  • How to add groups fieldset with add row in admin block in magento 2
  • How to Issue Refunds to Store Credit via Magento API?
  • How to change background-color from search autocomplete onmouseover? Magento2
  • magento 2 how to save custom field in sales order grid table?
  • magento2 custom tab add product grid filter issue
——————-
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
——————-
  • Blog
  • Contact
  • Nepali Typing | Nepali Unicode | English to Nepali | English Conversion | English Translate | नेपाली to English | नेपाली टाईपिङ
  • Occasional Photography
    • The desert that everybody loves in pictures
  • Photography
  • Rubin Shrestha

© 2024 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme