Windows 10: Shortcut key to create .txt file in windows 11 / File Explorer

Discus and support Shortcut key to create .txt file in windows 11 / File Explorer in Windows 10 Gaming to solve the problem; Is there a shortcut key to quickly create a text file? Right now, the only way I know is by right-clicking, going to 'New,' and selecting 'Text... Discussion in 'Windows 10 Gaming' started by Sameer Sah1, Mar 25, 2025 at 10:12 AM.

  1. Shortcut key to create .txt file in windows 11 / File Explorer


    Is there a shortcut key to quickly create a text file? Right now, the only way I know is by right-clicking, going to 'New,' and selecting 'Text Document.' But when I’m deeply focused on my work, doing that with a touchpad or mouse feels a bit frustrating and interrupts my flow.

    :)
     

  2. Generating a .txt based file list in Windows 7

    No, that > bla.txt is the target file to write to. You could use a wildcard in the argument, ie c:\windows\*.txt which would list all dlls in c:\windows. But adding that to a simple right-click would be tricky.

    Basically you would execute fancyfile.bat c:\windows\*.txt, fancyfile.bat would then write all .txt files to bla.txt.
     
    DanTheBanjoman, Mar 25, 2025 at 10:13 AM
    #2
  3. Flava0ne Win User
    Creating Shortcuts with Batch File

    I've created a Batch file which calls on the following VB Script to be able to create a shortcut to my desktop:

    VB Script (named createLink.vbs):
    Code: set objWSHShell = CreateObject("WScript.Shell") set objFso = CreateObject("Scripting.FileSystemObject") ' command line arguments ' TODO: error checking sShortcut = objWSHShell.ExpandEnvironmentStrings(WScript.Arguments.Item(0)) sTargetPath = objWSHShell.ExpandEnvironmentStrings(WScript.Arguments.Item(1)) sWorkingDirectory = objFso.GetAbsolutePathName(sShortcut) set objSC = objWSHShell.CreateShortcut(sShortcut) objSC.TargetPath = sTargetPath objSC.WorkingDirectory = sWorkingDirectory objSC.Save[/quote] Batch File Example (for Windows Notepad):
    Code: @Echo off cscript createLink.vbs "C:\Users\Administrator\Desktop\Notepad.lnk" "C:\Windows\System32\notepad.exe"[/quote] But after creating the shortcut using this method, I'm not able to assign a custom icon for the shortcut. I get the following error message when trying to do so:


    Shortcut key to create .txt file in windows 11 / File Explorer [​IMG]


    Any help and ideas on what I need to put into the VB Script and/or Batch File to be able to do this would be greatly appreciated! *Big Grin Shortcut key to create .txt file in windows 11 / File Explorer :D

    Also, I know that I can simply do this by going to Start Menu\All Programs\Accessories\ right-clicking on Notepad and selecting Send to\Desktop (create shortcut). Easy enough for creating a single shortcut. But I need to create several multiple shortcuts and using this Batch/VBS method would really save me a lot of time in doing so.
     
  4. Flava0ne Win User

    Shortcut key to create .txt file in windows 11 / File Explorer

    Creating Shortcuts with Batch File

    Tried both of the VB Scripts that you provided and adding the 9 switch to the batch file but neither was able to create a shortcut to my desktop.
     
Thema:

Shortcut key to create .txt file in windows 11 / File Explorer

Loading...
  1. Shortcut key to create .txt file in windows 11 / File Explorer - Similar Threads - Shortcut key create

  2. Shortcut key to create .txt file in windows 11 / File Explorer

    in Windows 10 Software and Apps
    Shortcut key to create .txt file in windows 11 / File Explorer: Is there a shortcut key to quickly create a text file? Right now, the only way I know is by right-clicking, going to 'New,' and selecting 'Text Document.' But when I’m deeply focused on my work, doing that with a touchpad or mouse feels a bit frustrating and interrupts my...
  3. Cannot create .txt file anymore

    in Windows 10 Gaming
    Cannot create .txt file anymore: https://i.imgur.com/tBCEd2V.pngThe new text file icon disappeared. I reset notepad, no success. I restarted my computer, no success. I applied the latest Windows Update, no success. I uninstalled notepad++ just in case, no success.I'm using Windows 11....
  4. Cannot create .txt file anymore

    in Windows 10 Software and Apps
    Cannot create .txt file anymore: https://i.imgur.com/tBCEd2V.pngThe new text file icon disappeared. I reset notepad, no success. I restarted my computer, no success. I applied the latest Windows Update, no success. I uninstalled notepad++ just in case, no success.I'm using Windows 11....
  5. can't create new .txt file windows 10/11

    in Windows 10 Network and Sharing
    can't create new .txt file windows 10/11: ok so i had this problem once fixed it forgot about it. today i had the same issue but i couldn't remember how i fixed yadayada. i came accross an unsolved post with the same issue, however the post is locked so i could not post my solution so i'm posting here if anyone has...
  6. can't create new .txt file windows 10/11

    in Windows 10 Gaming
    can't create new .txt file windows 10/11: ok so i had this problem once fixed it forgot about it. today i had the same issue but i couldn't remember how i fixed yadayada. i came accross an unsolved post with the same issue, however the post is locked so i could not post my solution so i'm posting here if anyone has...
  7. can't create new .txt file windows 10/11

    in Windows 10 Software and Apps
    can't create new .txt file windows 10/11: ok so i had this problem once fixed it forgot about it. today i had the same issue but i couldn't remember how i fixed yadayada. i came accross an unsolved post with the same issue, however the post is locked so i could not post my solution so i'm posting here if anyone has...
  8. shortcut to open txt file and go to end

    in Windows 10 Support
    shortcut to open txt file and go to end: Especially in log files. How can I open, say, Log.txt in Notepad and go to the end automatically? 109536
  9. Creating shortcuts freeze explorer / create tmp files.

    in Windows 10 Support
    Creating shortcuts freeze explorer / create tmp files.: Hello, I currently have reformatted & installed Windows 10. I've been having this weird issue where if I rename / create shortcuts my computer will freeze. After about 15-20 seconds, explorer will restart and put files "~ew shortcut.tmp / New shortcut.lnk~RF3cc187.TMP" on my...
  10. Create File Explorer UWP app Shortcut in Windows 10

    in Windows 10 Tutorials
    Create File Explorer UWP app Shortcut in Windows 10: How to: Create File Explorer UWP app Shortcut in Windows 10 How to Create a UWP File Explorer app Shortcut in Windows 10 Windows 10 Insider Preview build 14936 includes a new Universal Windows Platform (UWP) File Explorer app that is still an unfinished early version....