Windows 10: Errors when trying to create a shortcut and save files on C: Drive

Discus and support Errors when trying to create a shortcut and save files on C: Drive in Windows 10 Ask Insider to solve the problem; Hey! So I bought a new laptop about a week ago, and I'm the only user on this computer. Today I noticed that when I try to create a shortcut on... Discussion in 'Windows 10 Ask Insider' started by /u/LegendBerrYan, Jan 6, 2021.

  1. Errors when trying to create a shortcut and save files on C: Drive


    Hey!

    So I bought a new laptop about a week ago, and I'm the only user on this computer.

    Today I noticed that when I try to create a shortcut on Desktop I get the following message: "Windows could not create the shortcut. Check to see if the disk is full"

    also then I right-click on Desktop and hover on "New" the only option I have is "Folder" (With a shield icon), and it will not show the "shortcut" option.

    Another thing is, I get the following error whenever I try to save a new file on Desktop: " You don’t have permission to save in this location".

    I checked my user permissions, and it shows my user as an administrator, but for some reason I'm very limited with the things I can do.

    If anyone could help me solve this issue I'd be very grateful!

    submitted by /u/LegendBerrYan
    [link] [comments]

    :)
     
    /u/LegendBerrYan, Jan 6, 2021
    #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:


    Errors when trying to create a shortcut and save files on C: Drive 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 Errors when trying to create a shortcut and save files on C: Drive :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, Jan 6, 2021
    #2
  3. Flava0ne Win User
    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 Errors when trying to create a shortcut and save files on C: Drive :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, Jan 6, 2021
    #3
  4. Errors when trying to create a shortcut and save files on C: Drive

    Creating Shortcuts with Batch File

    Threw a program together quick for you. It is attached with source in the other. Use it in place of your VBScript.

    It supports:
    CreateShortcut [save shortcut] [path to run]
    CreateShortcut [save shortcut] [path to run] [icon index]
    CreateShortcut [save shortcut] [path to run] [icon file]
    CreateShortcut [save shortcut] [path to run] [icon file] [icon index]

    If "icon index" is missing, it assumes 0. If "icon file" is missing it assumes "path to run." It doesn't presently support arguments to be added to the shortcut nor modifying the working directory (always assumes same directory as "path to run").

    Requires .NET Framework 4.0 to run. Will run natively on 32-bit and 64-bit versions of Windows.
     
    FordGT90Concept, Jan 6, 2021
    #4
Thema:

Errors when trying to create a shortcut and save files on C: Drive

Loading...
  1. Errors when trying to create a shortcut and save files on C: Drive - Similar Threads - Errors trying create

  2. Cannot Save Files to the C Drive

    in Windows 10 Gaming
    Cannot Save Files to the C Drive: I have changed my permissions to full and ensured that I am a Administrator, but I still cannot save a csv file to the C drive. https://answers.microsoft.com/en-us/windows/forum/all/cannot-save-files-to-the-c-drive/e3c88010-6f73-49cc-a4f2-db7e820e11dc
  3. Cannot Save Files to the C Drive

    in Windows 10 Software and Apps
    Cannot Save Files to the C Drive: I have changed my permissions to full and ensured that I am a Administrator, but I still cannot save a csv file to the C drive. https://answers.microsoft.com/en-us/windows/forum/all/cannot-save-files-to-the-c-drive/e3c88010-6f73-49cc-a4f2-db7e820e11dc
  4. 0x8000ffff error when trying to create new desktop shortcut or folder

    in Windows 10 Gaming
    0x8000ffff error when trying to create new desktop shortcut or folder: 0x8000ffff error when trying to create new desktop shortcut or folder https://answers.microsoft.com/en-us/windows/forum/all/0x8000ffff-error-when-trying-to-create-new-desktop/748078ba-7b8b-4fc8-a804-664092863a33
  5. 0x8000ffff error when trying to create new desktop shortcut or folder

    in Windows 10 Software and Apps
    0x8000ffff error when trying to create new desktop shortcut or folder: 0x8000ffff error when trying to create new desktop shortcut or folder https://answers.microsoft.com/en-us/windows/forum/all/0x8000ffff-error-when-trying-to-create-new-desktop/748078ba-7b8b-4fc8-a804-664092863a33
  6. 0x8000ffff error when trying to create new desktop shortcut or folder

    in Windows 10 BSOD Crashes and Debugging
    0x8000ffff error when trying to create new desktop shortcut or folder: 0x8000ffff error when trying to create new desktop shortcut or folder https://answers.microsoft.com/en-us/windows/forum/all/0x8000ffff-error-when-trying-to-create-new-desktop/748078ba-7b8b-4fc8-a804-664092863a33
  7. C drive shortcut created on another hard disk

    in Windows 10 Network and Sharing
    C drive shortcut created on another hard disk: Hi From yesterday i noticed that a C drive Primary disk drive shortcut is automatically created on my D drive where i stored my album and video files.On openning i saw same contents as original C drive.What is this? Can i delete it? i ran a virus scan with kaspersky and it...
  8. trying to save files on a flash drive

    in Windows 10 Drivers and Hardware
    trying to save files on a flash drive: I plugged my flash drive in to my Lenovo IdeaPad 330 and there is no icon showing up that gives me a spot to save my files onto it. please help i need to free up space on my computer....
  9. "The file could not be saved. Try one of the following:" error when trying to save files...

    in Windows 10 Network and Sharing
    "The file could not be saved. Try one of the following:" error when trying to save files...: The file could not be saved. Try one of the following: > make sure the specified folder exists. > make sure the folder that contains the file is not read-only. > make sure the file name does not contain any of the following characters: <>?[]: or * > make sure the...
  10. cannot create a file on c drive

    in Windows 10 Support
    cannot create a file on c drive: Hi, Anywhere on the c drive, I cannot create files. I can only create folders. How can I change this ? Where in Windows 10 can I set myself as the power user ? 61559