Page 121 of 125 FirstFirst ... 2171111119120121122123 ... LastLast
  1.    2 Weeks Ago #1201
    Join Date : Jun 2016
    Posts : 1,584
    Win10 1607

    Quote Originally Posted by Ztruker View Post
    On my system, echo %date% yields Fri 01/05/2018.
    It depends on your Computer's "date" defaults in Settings mine currently echos 05-Jan-18

    Click image for larger version. 

Name:	image.png 
Views:	1 
Size:	40.6 KB 
ID:	171077



    Click image for larger version. 

Name:	image.png 
Views:	1 
Size:	16.0 KB 
ID:	171076
    Last edited by Kbird; 2 Weeks Ago at 21:30.
      My ComputerSystem Spec
  2.    2 Weeks Ago #1202
    Join Date : Apr 2014
    Space coast of Florida
    Posts : 5,582
    Windows 10 Pro X64 16299.125

    So a better method is needed that always gets a valid format.
      My ComputersSystem Spec
  3.    2 Weeks Ago #1203
    Join Date : Aug 2016
    S/E England
    Posts : 5,256
    10 Home x64 (1709) (10 Pro on 2nd pc)

    Quote Originally Posted by Ztruker View Post
    So a better method is needed that always gets a valid format.
    There's one here...
    A variant of script that works locale-independently. Put it in a text file with .cmd extension and run...
    https://stackoverflow.com/questions/...cmd-exe-script

    I did (well, I saved as showdate.bat and added @echo off as a first line). Seems to cope with changing date formats between runs, Here's how it copes with US, UK and YYYY-MM-DD formats.

    Click image for larger version. 

Name:	DATE FORMATS.PNG 
Views:	3 
Size:	17.1 KB 
ID:	171093
      My ComputersSystem Spec
  4.    2 Weeks Ago #1204
    Join Date : Jun 2016
    Posts : 1,584
    Win10 1607

    Quote Originally Posted by Bree View Post
    There's one here...
    https://stackoverflow.com/questions/...cmd-exe-script

    I did (well, I saved as showdate.bat and added @echo off as a first line). Seems to cope with changing date formats between runs, Here's how it copes with US, UK and YYYY-MM-DD formats.

    Click image for larger version. 

Name:	DATE FORMATS.PNG 
Views:	3 
Size:	17.1 KB 
ID:	171093
    @Bree That particular version doesn't work with non-English languages apparently after reading the comments on that page, so I played with another version which supposedly does ( I can't test it ) and put it into a Batch file I wrote as example code with comments etc for others to try....it will need further work once we know if the method works in other Locales , but wouldn't be much work since Kyhi's Script can call the Variable depending on which you want/need.

    Zip File attached , open a command prompt in the extracted Folder and type getdate {enter}

    and hopefully you will see

    Click image for larger version. 

Name:	image.png 
Views:	1 
Size:	23.8 KB 
ID:	171134
    KB.
    Windows 10 Recovery Tools - Bootable Rescue Disk Attached Files
      My ComputerSystem Spec
  5.    2 Weeks Ago #1205
    Join Date : Jun 2015
    Posts : 1,943
    Windows 3.1 to Windows 10
    Thread Starter

    Keep in mind there are certain characters that can not be used in file names...
    Considering the number of Program Downloads - and then considering changing the batch for (one) PC's time and date settings..
    carry On...
      My ComputerSystem Spec
  6.    1 Week Ago #1206
    Join Date : Jun 2016
    Posts : 1,584
    Win10 1607

    Quote Originally Posted by Kyhi View Post
    Keep in mind there are certain characters that can not be used in file names...
    Considering the number of Program Downloads - and then considering changing the batch for (one) PC's time and date settings..
    carry On...
    yes for example you can't use / in the .iso file name.... ( any file name actually ) but you can use - or . between date numbers both acceptable , I used - in the examples below.

    it took about 5 mins to insert the Code above into the WINPESE.CMD file and rem out the existing set dtstamp lines, and change the dtstamp variable name to dtsampUK (or US) ...more info in the files......it works fine for me making a 64bit .iso with either UK or US type dates , whether it works for European Languages I don't know , I am not an expert PE script maker and can't test ..... but perhaps someone can try these and report back, both work for me no matter the computer date....

    KB
    Windows 10 Recovery Tools - Bootable Rescue Disk Attached Files
      My ComputerSystem Spec
  7.    1 Week Ago #1207
    Join Date : Jan 2018
    Portugal
    Posts : 13
    Windows 10 Home

    Hi kbird
    I made a small test with a modify version of your changes and the output of the litle script with a XP portuguese system give me the output as planed
    Date=09-01-2018

    At home I will test with a portuguese and french versions (win 8.1 and 10) to see what happens...

    by the way, I already test the ISO file in a 32/64 format and it works as planned with 3 unbootable Win 10 installations.
    I validate and took all necessary files, I test the software that comes to it, and only found one or two problems.
    one of them must be related with the lack of temp memory drive that is created.... if I make one or two updates of the programs, I became receiving error msgs.
    other is eset that can't update it goes until the 98% then stops and give me the msg that it can't access the update site...
    can we PM here, I need to talk with Kyhi...
      My ComputerSystem Spec
  8.    1 Week Ago #1208
    Join Date : Jun 2016
    Posts : 1,584
    Win10 1607

    Quote Originally Posted by alr tech View Post
    Hi kbird
    I made a small test with a modify version of your changes and the output of the litle script with a XP portuguese system give me the output as planed
    Date=09-01-2018

    At home I will test with a portuguese and french versions (win 8.1 and 10) to see what happens...

    by the way, I already test the ISO file in a 32/64 format and it works as planned with 3 unbootable Win 10 installations.
    I validate and took all necessary files, I test the software that comes to it, and only found one or two problems.
    one of them must be related with the lack of temp memory drive that is created.... if I make one or two updates of the programs, I became receiving error msgs.
    other is eset that can't update it goes until the 98% then stops and give me the msg that it can't access the update site...
    can we PM here, I need to talk with Kyhi...
    Hi ALR , good to know they work , you can have a 2 digit Year if you prefer it , just remove REM on that line in the file.

    I am not sure why the Disks are unbootable ? is it a disk issue or a computer issue?

    You can PM yes, but I would try with a detailed message here 1st , the good thing about that is everyone can help and gain some new knowledge too.

    KB.
      My ComputerSystem Spec
  9.    1 Week Ago #1209
    Join Date : Jan 2018
    Portugal
    Posts : 13
    Windows 10 Home

    Hi kbird

    Like I promise I do some tests with other PCs with different locals.. and for now it gives to me the same.
    Date=09-01-2018
    of course if someone doesn't like "-" it can change the char by "." or "_". Or even without any char linking the vars.
    let's see other opinions...

    Quote Originally Posted by Kbird
    I am not sure why the Disks are unbootable ? is it a disk issue or a computer issue?
    well I'm working with 3 machines that didn't boot properly and the common recipes did not work...
    one had a bad drive.... i retest several times but the HD is in its final life. And it was changed... but before that I had to retrieve the Win Keys and others, like files. its done.
    the other it was a windows update that failed.. and the machine refuses too boot in windows only PE... chkdsk didn't help, common script didn't finished... I had to use other utilities, but this new machines with uefi bios left my normal utility pens no longer useful... but rufus make other utilities uefi compatible and yours ISO, and they did recover the disk.
    The Win 10 pro was reinstalled, software and is almost done.
    The third is a HP machine it took me several hours to disable the protection in eufi bios. Someone power off the machine when it was upgrading, they try late recover it.. but they do mistakes and they try to install a 8.1 recovery. So the win 10 became a mess and I try everything to recover, it failed.
    I had to retrieve the keys, files search for virus and make a new installation. the problem is that this model doesn't have a HP win 10 support... its recent.. but the win 10 installed normally.. and I'm looking in HP for 2 win 10 drivers to use with similar HP models.. and I have to create a recovery with Macrium..
    It's taking time but I only work with them when I arrive home...

    With Kyhi, is with my findings in the ISO...
    of course the pertinent conclusions will be post later
      My ComputerSystem Spec
  10.    1 Week Ago #1210
    Join Date : Jun 2017
    Posts : 35
    Windows 10


    Does running "DISM restore health" affect manual changes made in services.msc (such as disabling a Windows service) or group policy changes? In other words, does it revert such changes back to default?
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Solved How to make active@boot disk bootable on uefi/gpt?
Hey Guys Does anyone know how this software can be configured to boot from usb on uefi/gpt. I formatted usb using rufus on the relevant mode then dragged over the contents of another usb where it does work on bios/mbr set up. But when booting...
Installation and Upgrade
Create Rescue Disk fails during disk creation
Have a new Double Power 8.1 Tablet that I've upgraded to Win 10. Now I've got it set up just right, I'm attempting to create a Rescue Disk. Purchased a 16gb micro-usb drive which is successfully recognized. Ran 'Create Rescue Disk' from Windows...
Performance & Maintenance
Solved Win 10 Rescue disk
I have a new laptop with win 7 pro installed. Once Win 10 is installed in July how will I be able to create a system restore disk?
Installation and Upgrade
Solved MiniTool Power Data Recovery to the rescue!!!
Just sharing this. I made another boo-boo today and deleted 500GB worth of media files (just movies and music). Don't ask me how because that's something nobody wants to do. :) I don't keep a backup of these files. For me these are disposable...
Software and Apps
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 23:44.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums