Windows 10: How to get commnd prompt data to a file

Discus and support How to get commnd prompt data to a file in Windows 10 Support to solve the problem; I'm running a bat file in Command Prompt and want to capture it's output to a text file. I though "> filename" on the end of the command would redirect... Discussion in 'Windows 10 Support' started by James1093, Oct 28, 2018.

  1. James1093 Win User

    How to get commnd prompt data to a file


    I'm running a bat file in Command Prompt and want to capture it's output to a text file.
    I though "> filename" on the end of the command would redirect to a file, but it writes an empty file.
    Any solution ?
    Thanks.

    :)
     
    James1093, Oct 28, 2018
    #1

  2. Program data files not saving

    Hi,

    Thank you for getting back with a reply.

    This issue may happen due to system file corruption. I suggest you to run System file checker. System File checker (SFC) scan is done to check if there are any corrupted system files that could be causing this issue. Kindly follow
    the below given steps:

    • Press Windows key + X, select
      Command prompt (Admin)
      to bring up elevated Command prompt.
    • In Command prompt type sfc/scannow and press enter.
    • Restart the computer.
    If no corrupted system files were found in the previous state, then I suggest you to try the following steps:

    • Open command prompt by pressing Windows key + X and selecting “Command prompt admin”.
    • In command prompt, type the following commands and press Enter after each command:
    DISM.exe /Online /Cleanup-image /Scanhealth

    DISM.exe /Online /Cleanup-image /Restorehealth

    • Close the command prompt and restart the PC and check if it works.

    Keep us posted on Windows related queries and we will be happy to assist you further.
     
    Nachappa C K, Oct 28, 2018
    #2
  3. Program data files not saving

    I've just executed all of the above commands. No issues were detected with the scannow. None of the above steps have resolved my problem. Very perplexing what is causing the problem on the laptop but not on the desktop pc.
     
    JeffHeppner, Oct 28, 2018
    #3
  4. How to get commnd prompt data to a file

    Edge Search Does Not Permit Change of Region


    I got these suggestions from the Microsoft Community forum.No. 1 worked for me:

    Thank you for posting the query on Microsoft Community. I am glad to assist you on this.
    We have reproduce the issue here and we are able to access non-regional search for google using Microsoft Edge.
    I would suggest you to try the below steps and check if it helps.
    Step 1:
    Clear browsing data option of Microsoft Edge and check if you face the issue. To do so perform the steps below.

    1. Click on the More actions icon next to the feedback icon present on top right corner of the Project Spartan homepage.
    2. Select Settings and click on Choose what to clear.
    3. Check the boxes Browsing history, Cookies and saved website data and Cached data and files and click on Clear.
    Step 2:
    I suggest you to create a new user account and check if the issue occurs.

    1. Go to Settings.
    2. Choose Accounts and then select Family and other users.
    3. Select add someone else on this PC.
    4. Enter a user name and hit next.
    5. Click on Finish.
    6. Sign out from the current Account and Log into the new account.
    Step 3:
    It could also happen because of network issue. I suggest you to try with different network connection and check if it helps.
     
    hurricane51, Oct 28, 2018
    #4
Thema:

How to get commnd prompt data to a file

Loading...
  1. How to get commnd prompt data to a file - Similar Threads - commnd prompt data

  2. How to get back legacy command prompt.

    in Windows 10 Gaming
    How to get back legacy command prompt.: I'm learning c++ and when I run the compiled application by double clicking it gets opened in the new terminal app. I want the old command prompt to be used when I double click the exe. Any idea ?...
  3. How to get back legacy command prompt.

    in Windows 10 Software and Apps
    How to get back legacy command prompt.: I'm learning c++ and when I run the compiled application by double clicking it gets opened in the new terminal app. I want the old command prompt to be used when I double click the exe. Any idea ?...
  4. How to backup apps, data and files?

    in Windows 10 Gaming
    How to backup apps, data and files?: Hello,I am using Windows Insider as a Dev Channel, sadly Windows wants me to do a clean install of Windows in order to unenroll from Windows Insider. My concern is I have files and apps that I have along with my personal settings how can I backup this like I can with Apple...
  5. how to transfer files on data wipe

    in Windows 10 Installation and Upgrade
    how to transfer files on data wipe: i would like to data wipe my laptop because its very laggy so is there a way to put all my important files on a usb drive then transfer it to the new version but same computer also, will windows be activated...
  6. How to Navigate to C:\Program Data in Command Prompt Window

    in Windows 10 Support
    How to Navigate to C:\Program Data in Command Prompt Window: Hi Trying to navigate to the following location via an elevated command prompt C:\Program Data\Microsoft\Windows\Start Menu\Programs\Windows Accessories However, I can't even see the C:\Program Data folder - much less navigate any further. Any idea why I can't see it? Do...
  7. How to retrieve data and files?

    in Windows 10 BSOD Crashes and Debugging
    How to retrieve data and files?: Hi How can I retrieve my files after my laptop has been reset brand new? Here is the situation: I have earlier reset Windows 10 and also saved files and data. Everything went well and smooth. After downloading uploading and installing some last updated for windows 10 and...
  8. How to unhide files in command prompt?

    in Windows 10 Ask Insider
    How to unhide files in command prompt?: Im a standard user trying to make a new admin account. I was trying to do the sethc.exe trick but i accidentally hid the windows folder and everything within it. Im a standard user so I can't unhide it unless i have the admin password. Ive been trying to use attrib -h -s...
  9. How to get back the classic uac prompt

    in Windows 10 Customization
    How to get back the classic uac prompt: How do I get back the classic uac prompt? I have tried the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\TestHooks method but it did not work. My PC is at the latest update. What should I do?...
  10. How to get back the classic uac prompt

    in Windows 10 Customization
    How to get back the classic uac prompt: How do I get back the classic uac prompt? I have tried the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\TestHooks method but it did not work. My PC is at the latest update. What should I do?...