Windows 10: How can I stop Windows 10 from creating file "SHORTCUTS" in file-manager?

Discus and support How can I stop Windows 10 from creating file "SHORTCUTS" in file-manager? in Windows 10 Customization to solve the problem; Using my drive D: using a ScanDisk drive it seems Windows10 automatically creates SHORTCUT files of the files I am using and I would like to know how... Discussion in 'Windows 10 Customization' started by Matthew Brian Castle, Oct 8, 2020.

  1. How can I stop Windows 10 from creating file "SHORTCUTS" in file-manager?


    Using my drive D: using a ScanDisk drive it seems Windows10 automatically creates SHORTCUT files of the files I am using and I would like to know how to stop this! Am I lost or what? There must be a command for this function buy I have nit yet be able to find it, that is the purpose for this cry for help!


    Thank You


    Matthew B. Castle

    *** Email address is removed for privacy ***

    :)
     
    Matthew Brian Castle, Oct 8, 2020
    #1
  2. 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:


    How can I stop Windows 10 from creating file "SHORTCUTS" in file-manager? Error503.jpg


    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 How can I stop Windows 10 from creating file "SHORTCUTS" in file-manager? :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.
     
    Flava0ne, Oct 8, 2020
    #2
  3. Flava0ne Win User
    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.
     
    Flava0ne, Oct 8, 2020
    #3
  4. Flava0ne Win User

    How can I stop Windows 10 from creating file "SHORTCUTS" in file-manager?

    Creating Shortcuts with Batch File

    So basically my Batch File will now look like this:

    Code: @Echo off CreateShortcut.exe "C:\Users\Administrator\Desktop\Notepad.lnk" "C:\Windows\System32\notepad.exe"[/quote] Thanks man! *Big Grin How can I stop Windows 10 from creating file "SHORTCUTS" in file-manager? :D This does exactly what I want done and I'm able to customize the icon for the shortcut without problems. But I'm not quite sure how to use the [icon file] portion you mentioned that it supports. I tried the following Batch File:

    Code: @Echo off CreateShortcut.exe "C:\Users\Administrator\Desktop\Notepad.lnk" "C:\Windows\System32\notepad.exe" "C:\Users\Administrator\Pictures\Notepad.ico"[/quote] It created the shortcut but didn't change the icon.
     
    Flava0ne, Oct 8, 2020
    #4
Thema:

How can I stop Windows 10 from creating file "SHORTCUTS" in file-manager?

Loading...
  1. How can I stop Windows 10 from creating file "SHORTCUTS" in file-manager? - Similar Threads - stop creating file

  2. How do I create a desktop shortcut for File History?

    in Windows 10 Software and Apps
    How do I create a desktop shortcut for File History?: I am having a problem creating a desktop shortcut for File History in windows 11. When I right click the desktop, and click on NEW followed by SHORTCUT, I get a message box asking me to type the location of the item. Do any of you know the LOCATION of File History? * Moved...
  3. Create shortcut from file in OneDrive

    in Windows 10 Network and Sharing
    Create shortcut from file in OneDrive: Am I mistaken that in the past you could place a word file shortcut on the android home page. I can't see a way to do it. I also couldn't find a way to copy the file to my android documents folder, from where I planned to create the shortcut. I eventually had to move the...
  4. How do I stop Windows 10 from encrypting files created on Desktop?

    in AntiVirus, Firewalls and System Security
    How do I stop Windows 10 from encrypting files created on Desktop?: Every time I create a new file on my Desktop and it has a gold padlock on it. The Desktop folder in my profile has the same padlock but no other folders in my profile have one. I right click on the Desktop folder, select Advanced, uncheck "Encrypt contents...", and press...
  5. Win 10 File Manager will not open on screen from shortcut

    in Windows 10 Customization
    Win 10 File Manager will not open on screen from shortcut: Very recently, I have been unable to open File Manager on my Win 10 system. It only opens as a shortcut in the gutter. My Win 10 version is 2004, OS build is 19041.508 and the install was made on 9/4/2020. Can someone help me? Thank you...
  6. How to stop Windows 10 from creating shortcut for every single file

    in Windows 10 Network and Sharing
    How to stop Windows 10 from creating shortcut for every single file: Does anyone has the solution to disable the file shortcut autocreation? Thank you. https://answers.microsoft.com/en-us/windows/forum/all/how-to-stop-windows-10-from-creating-shortcut-for/67f96989-6e2c-4815-8324-b70222b36f6d
  7. Creating a reg file or shortcut.

    in Windows 10 Ask Insider
    Creating a reg file or shortcut.: Is there any way I can create shortcut or reg file to enable/disable a rule of Inbound and Outbound of Windows Defender Firewall with Advanced Security? submitted by /u/npc73 [link] [comments]...
  8. How do I create a shortcut to a file on the network?

    in Windows 10 Network and Sharing
    How do I create a shortcut to a file on the network?: I have some files (mainly spreadsheets) on the network and need to share some of those with managers I can share the link to the file by email quite easily, I can share the whole folder but dont want to. I Cant share a shortcut by email because Outlook removes it How do I...
  9. How to create a shortcut for File History on Windows 10

    in Windows 10 News
    How to create a shortcut for File History on Windows 10: [ATTACH] [ATTACH]File History is a useful feature in the Windows 10 operating system. This feature makes an automatic back up versions of important files on a computer to internal or external storage on a computer. These files can also be backed [...] This post How to create...
  10. Create File History shortcut in Windows 10

    in Windows 10 Tutorials
    Create File History shortcut in Windows 10: How to: Create File History shortcut in Windows 10 How to Create File History shortcut in Windows 10 File History was first introduced in Windows 8, and has been improved in Windows 10. You can use File History to automatically back up versions of your files on a...