Windows 10: A Windows 10 Anomaly within a Script Command

Discus and support A Windows 10 Anomaly within a Script Command in Windows 10 Installation and Upgrade to solve the problem; In our Fortran output files resulting from a technical analysis, it has been our practice to echo the input data file at the front of output computed.... Discussion in 'Windows 10 Installation and Upgrade' started by TomStevens6, Jun 9, 2020.

  1. A Windows 10 Anomaly within a Script Command


    In our Fortran output files resulting from a technical analysis, it has been our practice to echo the input data file at the front of output computed. Because a Fortran print file will result, it is also necessary to place a blank character in front of each echoed input line lest the first datum character be interpreted as carriage control.


    This has always worked swimmingly for earlier Windows systems prior to Windows 10. When we moved our technical computing over to Windows 10 from Windows 7, however, some input echo lines would go missing. There would practically always be a few.


    If you view the link: https://1drv.ms/u/s!AuTiT6lQ0NcXmSFzHw9pcMvKFqdP , you will find three files:

    1. Decko.bat is a batch run file with the one command which we use to accomplish this input echo
    2. INFILE is a suitable input deck.
    3. OUTBACK is the generated target file: lines from INFILE shifted one character to the right.


    @FOR /F "usebackq tokens=1 delims=" %%i in INFILE do @Echo %%i >> "OUTBACK"


    I have taken the above command from a larger script. The name of the input file INFILE and the output file OUTBACK are hard coded in the command, as above and within Decko.bat. In the script, they would be coded in via environment variables.


    So to see the anomaly in action, you can compare the existing OUTBACK with INFILE lines shifted a character to the right. You can also rename the OUTBACK supplied and generate a new OUTBACK of your own. Do this by opening a Windows 10 command prompt window, cd'ing to the folder in which you have placed the files and enter the command:


    Decko


    Wait for a bit for it to complete. It takes a bit of time when run this way and can give the impression of not working. Eventually, it does finish and yields a new OUTBACK. You will find that some of the lines have been skipped. If you compare your new OUTBACK with the original renamed, you will probably find they are not the same, that different lines have been skipped. And if you repeat the experiment, different INFILE lines will probably be skipped each time.


    Once again, this happens only for Windows 10 among the operating systems tried. It did not happen with XP, Windows 10 or the Windows we use on our technical servers. And it happens with Windows 10 on the Ienovo technical machines we use at my company and on the ASUS machine I have at home on which Windows 10 is also installed.

    :)
     
    TomStevens6, Jun 9, 2020
    #1
  2. Naki Win User

    GPU-Z what command line parameter ?

    Suggestion: /? (-?) and /help (-help) command-line arguments to show a list of all possible arguments in a small window. *Smile A Windows 10 Anomaly within a Script Command :)
     
    Naki, Jun 9, 2020
    #2
  3. ryanly Win User
    GPU-Z what command line parameter ?

    Current /? (-?) or / help (-help) parameter is invalid
     
    ryanly, Jun 9, 2020
    #3
  4. Ahhzz Win User

    A Windows 10 Anomaly within a Script Command

    Windows 10 Tweaks

    Pressing “Windows+Pause Break” (it’s up there next to scroll lock) opens the “System” Window.

    Windows 10: In the new version of Windows, Explorer has a section called Quick Access. This includes your frequent folders and recent files. Explorer defaults to opening this page when you open a new window. If you’d rather open the usual This PC, with links to your drives and library folders, follow these steps:

    • Open a new Explorer window.
    • Click View in the ribbon.
    • Click Options.
    • Under General, next to “Open File Explorer to:” choose “This PC.”
    • Click OK


    credit to Lifehacker.
     
    Ahhzz, Jun 9, 2020
    #4
Thema:

A Windows 10 Anomaly within a Script Command

Loading...
  1. A Windows 10 Anomaly within a Script Command - Similar Threads - Anomaly within Script

  2. Windows 11 upgrade from 10 anomalies

    in Windows 10 Software and Apps
    Windows 11 upgrade from 10 anomalies: I just upgraded my desktop PC from Windows 10 to Windows 11. My tray icons disappear replaced by a white box when I move my mouse over them. Additionally, if for example, I right mouse over "This PC", click properties, then system, the actions available are whited out unless...
  3. Windows 11 upgrade from 10 anomalies

    in Windows 10 Gaming
    Windows 11 upgrade from 10 anomalies: I just upgraded my desktop PC from Windows 10 to Windows 11. My tray icons disappear replaced by a white box when I move my mouse over them. Additionally, if for example, I right mouse over "This PC", click properties, then system, the actions available are whited out unless...
  4. Editing anomaly

    in Windows 10 BSOD Crashes and Debugging
    Editing anomaly: On occasions when editing I get weird movements. Sometimes the cursor just repositions. Sometimes text just disappears and the cursor relocates. This happens in different editors - usually in Google Mail when composing a mail reply and sometimes in a financial blog while...
  5. Switch On Anomaly

    in Windows 10 Support
    Switch On Anomaly: I have recently purchased a refurbished Dell Optiplex 7010MT desktop pc with Windows 10 Pro ver 1909 installed which is working well.There is a very odd feature however, on startup I switch on the power at the mains socket and immediatly the switch on the start button on the...
  6. Script optimization, command prompt performance

    in Windows 10 BSOD Crashes and Debugging
    Script optimization, command prompt performance: Good evening, Regarding the morning message, please do not look at me with the optimization, performance, and prompt scripts. I mention that you have sent me a message and told me that the expert will send me a reply Wait for response! Thank you! A good evening!...
  7. windows 10 and microsoft mahjong icon anomaly

    in Windows 10 Gaming
    windows 10 and microsoft mahjong icon anomaly: Can someone please explain the red-circle-1 on the Microsoft Mahjong icon in the taskbar below? It occurs on both of my Win 10 machines but only with this game. I don't recall it occurring under Win 8. [img] -- Bob 23201
  8. LibreOffice Anomaly

    in Windows 10 Software and Apps
    LibreOffice Anomaly: I have LibreOffice 5.2 installed in My HP Pavilion Desktop where it has been running satisfactorily for some time. I recently installed the program in my HP Pavilion Laptop, the version now is updated to 5.4. With the earlier version I can scan in wirelessly from any of...
  9. Network anomaly

    in Windows 10 Network and Sharing
    Network anomaly: I am running Windows XP Pro 32-bit with a PCI network card. On reboot, half the time Network Connections shows both: Internet Gateway Internet connection - - - - - connected ____________________________________ LAN or Highspeed Internet Local Area Connection - - - -...
  10. Script or command to update time

    in Windows 10 Support
    Script or command to update time: I would like to update the time once a day by way of the Task Scheduler. Is there a command to do this? 24135